More fluid work

This commit is contained in:
modmuss50 2019-07-31 19:37:17 +01:00
parent 739f4c21e8
commit 70279c1800
5 changed files with 89 additions and 52 deletions

View file

@ -100,7 +100,7 @@ public abstract class BaseFluidGeneratorBlockEntity extends PowerAcceptorBlockEn
pendingWithdraw += millibucketsPerTick;
final int currentWithdraw = (int) pendingWithdraw;
pendingWithdraw -= currentWithdraw;
tank.drain(currentWithdraw, true);
tank.getFluidInstance().subtractAmount(currentWithdraw);
lastOutput = world.getTime();
}
}