mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Don't consume oil when suspended
This commit is contained in:
parent
df8d456a90
commit
c19e867bfd
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user