mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-28 07:55:41 +00:00
Fix pushLiquid NPE
This commit is contained in:
1 parent
fac2b7c6fa
commit
fd792740e9
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;
|
||||
|
||||
Reference in new issue
Block a user