Update PipeTransportFluids.java
This commit is contained in:
parent
591313df43
commit
daa9ab82fb
1 changed files with 1 additions and 1 deletions
|
@ -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 > 0 ? newTimeSlot : 0);
|
short outputCount = computeCurrentConnectionStatesAndTickFlows(newTimeSlot > 0 && newTimeSlot < travelDelay ? newTimeSlot : 0);
|
||||||
moveFromPipe(outputCount);
|
moveFromPipe(outputCount);
|
||||||
moveFromCenter(outputCount);
|
moveFromCenter(outputCount);
|
||||||
moveToCenter();
|
moveToCenter();
|
||||||
|
|
Loading…
Reference in a new issue