Fixed issue with RF not working as expected

This commit is contained in:
modmuss50 2016-01-05 18:12:13 +00:00
commit ee86b97429

View file

@ -162,7 +162,7 @@ public abstract class TilePowerAcceptor extends RFProviderTile implements
public int extractEnergy(EnumFacing from, int maxExtract, boolean simulate) {
if (!PowerSystem.RFPOWENET)
return 0;
if (!canAcceptEnergy(from)) {
if (!canProvideEnergy(from)) {
return 0;
}
maxExtract *= ConfigTechReborn.euPerRF;