Merge pull request #351 from Baughn/1.6.4

Fix pushLiquid NPE
This commit is contained in:
CrazyPants committed 2013-12-15 07:55:49 -08:00
commit c4a2fa1c8c
1 file changed
+1 -1
@@ -426,7 +426,7 @@ public class LiquidConduit extends AbstractConduit implements ILiquidConduit {
}
private int pushLiquid(ForgeDirection from, FluidStack pushStack, boolean doPush, int token) {
if(token == currentPushToken || pushStack == null || pushStack.amount <= 0) {
if(token == currentPushToken || pushStack == null || pushStack.amount <= 0 || network == null) {
return 0;
}
currentPushToken = token;