Crappy temp fix for #1576

I think it's something with time.
This commit is contained in:
Anton 2014-04-12 23:32:42 +03:00
parent 9f55519528
commit 591313df43

View file

@ -337,7 +337,7 @@ public class PipeTransportFluids extends PipeTransport implements IFluidHandler
private void moveFluids() { private void moveFluids() {
short newTimeSlot = (short) (container.getWorldObj().getTotalWorldTime() % travelDelay); short newTimeSlot = (short) (container.getWorldObj().getTotalWorldTime() % travelDelay);
short outputCount = computeCurrentConnectionStatesAndTickFlows(newTimeSlot); short outputCount = computeCurrentConnectionStatesAndTickFlows(newTimeSlot > 0 ? newTimeSlot : 0);
moveFromPipe(outputCount); moveFromPipe(outputCount);
moveFromCenter(outputCount); moveFromCenter(outputCount);
moveToCenter(); moveToCenter();