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,10 +179,13 @@ public class FluidNetwork extends DynamicNetwork<IFluidHandler, FluidNetwork>
remaining--; remaining--;
} }
if(acceptorDirections.get(acceptor) != null && fluidToSend != null)
{
fluidSent += acceptor.fill(acceptorDirections.get(acceptor).getOpposite(), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer); fluidSent += acceptor.fill(acceptorDirections.get(acceptor).getOpposite(), new FluidStack(fluidToSend.fluidID, currentSending), doTransfer);
} }
} }
} }
}
if(doTransfer && fluidSent > 0 && FMLCommonHandler.instance().getEffectiveSide().isServer()) if(doTransfer && fluidSent > 0 && FMLCommonHandler.instance().getEffectiveSide().isServer())
{ {