Don't consume oil when suspended

This commit is contained in:
abel1502 2025-06-03 20:31:17 +03:00
parent df8d456a90
commit c19e867bfd
No known key found for this signature in database
GPG Key ID: 076926596A536338

View File

@ -78,7 +78,7 @@ public class TileEntityMachineAutosaw extends TileEntityLoadedBase implements IB
if(!worldObj.isRemote) { if(!worldObj.isRemote) {
if(worldObj.getTotalWorldTime() % 20 == 0) { if(!isSuspended && worldObj.getTotalWorldTime() % 20 == 0) {
if(tank.getFill() > 0) { if(tank.getFill() > 0) {
tank.setFill(tank.getFill() - 1); tank.setFill(tank.getFill() - 1);
this.isOn = true; this.isOn = true;