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() { public void tick() {
super.tick(); super.tick();
if (!world.isRemote) { if (!world.isRemote) {
if (FluidUtils.drainContainers(tank, inventory, 0, 1) // TODO: Fix in 1.13
|| FluidUtils.fillContainers(tank, inventory, 0, 1, tank.getFluidType())) // if (FluidUtils.drainContainers(tank, inventory, 0, 1)
this.syncWithAll(); // || FluidUtils.fillContainers(tank, inventory, 0, 1, tank.getFluidType())) {
// this.syncWithAll();
// }
} }
tank.compareAndUpdate(); tank.compareAndUpdate();
} }

View file

@ -1,5 +1,4 @@
{ {
"variants": { "parent": "techreborn:block/machines/tier3_machines/creative_quantum_chest"
"": { "model": "techreborn:block/machines/tier3_machines/creative_quantum_chest" }
}
} }

View file

@ -1,5 +1,3 @@
{ {
"variants": { "parent": "techreborn:block/machines/tier3_machines/creative_quantum_tank"
"": { "model": "techreborn:block/machines/tier3_machines/creative_quantum_tank" }
}
} }

View file

@ -1,5 +1,4 @@
{ {
"variants": { "parent": "techreborn:block/machines/tier3_machines/quantum_chest"
"": { "model": "techreborn:block/machines/tier3_machines/quantum_chest" }
}
} }

View file

@ -1,5 +1,4 @@
{ {
"variants": { "parent": "techreborn:block/machines/tier3_machines/quantum_tank"
"": { "model": "techreborn:block/machines/tier3_machines/quantum_tank" }
}
} }