Continue the attempting to be killing the bug with the fire...

This commit is contained in:
Ben Spiers 2014-09-01 20:17:55 +01:00
parent 6ffb64b740
commit 999fe7719f

View file

@ -179,7 +179,10 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
remaining--; remaining--;
} }
fluidSent += acceptor.fill(acceptorDirections.get(acceptor).getOpposite(), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer); if(acceptorDirections.get(acceptor) != null && fluidToSend != null)
{
fluidSent += acceptor.fill(acceptorDirections.get(acceptor).getOpposite(), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer);
}
} }
} }
} }