Commented out tank update()

This commit is contained in:
drcrazy 2019-04-09 16:34:54 +03:00
parent cd48daa152
commit 2a180cb5c2
5 changed files with 14 additions and 16 deletions

View file

@ -92,9 +92,12 @@ public class TileQuantumTank extends TileMachineBase
public void tick() {
super.tick();
if (!world.isRemote) {
if (FluidUtils.drainContainers(tank, inventory, 0, 1)
|| FluidUtils.fillContainers(tank, inventory, 0, 1, tank.getFluidType()))
this.syncWithAll();
// TODO: Fix in 1.13
// if (FluidUtils.drainContainers(tank, inventory, 0, 1)
// || FluidUtils.fillContainers(tank, inventory, 0, 1, tank.getFluidType())) {
// this.syncWithAll();
// }
}
tank.compareAndUpdate();
}