KILL #1759 THE IMPOSSIBLE BUG KILL KILL

This commit is contained in:
Ben Spiers 2014-08-31 20:30:41 +01:00
parent 39509fc133
commit 6ffb64b740

View file

@ -254,15 +254,18 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
if(fluidStored != null) if(fluidStored != null)
{ {
prevTransferAmount = tickEmit(fluidStored, true); prevTransferAmount = tickEmit(fluidStored, true);
if(fluidStored != null)
{
fluidStored.amount -= prevTransferAmount; fluidStored.amount -= prevTransferAmount;
if(fluidStored != null && fluidStored.amount <= 0) if(fluidStored.amount <= 0)
{ {
fluidStored = null; fluidStored = null;
} }
} }
} }
} }
}
@Override @Override
public void clientTick() public void clientTick()