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();
}

View file

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

View file

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

View file

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

View file

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