diff --git a/common/crazypants/enderio/conduit/liquid/LiquidConduit.java b/common/crazypants/enderio/conduit/liquid/LiquidConduit.java index f5ba1a7c..48c63a71 100644 --- a/common/crazypants/enderio/conduit/liquid/LiquidConduit.java +++ b/common/crazypants/enderio/conduit/liquid/LiquidConduit.java @@ -354,11 +354,11 @@ public class LiquidConduit extends AbstractConduit implements ILiquidConduit { if(filledFromThisTick.contains(getLocation().getLocation(from))) { return 0; } - if(doFill) { - filledFromThisTick.add(getLocation().getLocation(from)); - } if(network.lockNetworkForFill()) { + if(doFill) { + filledFromThisTick.add(getLocation().getLocation(from)); + } try { int res = fill(from, resource, doFill, true, network == null ? -1 : network.getNextPushToken()); if(doFill && externalConnections.contains(from) && network != null) { diff --git a/common/crazypants/enderio/power/PowerInterface.java b/common/crazypants/enderio/power/PowerInterface.java index 56b5caa5..06be4532 100644 --- a/common/crazypants/enderio/power/PowerInterface.java +++ b/common/crazypants/enderio/power/PowerInterface.java @@ -54,7 +54,7 @@ public class PowerInterface { public float getEnergyStored(ForgeDirection dir) { if(rfPower != null) { - return rfPower.getEnergyStored(dir) / 10f; + return rfPower.getEnergyStored(dir) / 10f; } // bc @@ -72,7 +72,7 @@ public class PowerInterface { public float getMaxEnergyStored(ForgeDirection dir) { if(rfPower != null) { - return rfPower.getMaxEnergyStored(dir) / 10f; + return rfPower.getMaxEnergyStored(dir) / 10f; } // bc @@ -91,7 +91,7 @@ public class PowerInterface { public float getPowerRequest(ForgeDirection dir) { if(rfPower != null) { if(rfPower.canInterface(dir)) { - return rfPower.receiveEnergy(dir, rfPower.getMaxEnergyStored(dir), true) / 10f; + return rfPower.receiveEnergy(dir, 99999999, true) / 10f; } return 0; } @@ -125,7 +125,7 @@ public class PowerInterface { public float recieveEnergy(ForgeDirection opposite, float canOffer) { if(rfPower != null) { - return rfPower.receiveEnergy(opposite, (int)(canOffer * 10), false) / 10f; + return rfPower.receiveEnergy(opposite, (int) (canOffer * 10), false) / 10f; } if(bcPower != null) {