diff --git a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityLavaFactoryController.java b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityLavaFactoryController.java index 66ee85be2..960e953ac 100644 --- a/src/main/java/ellpeck/actuallyadditions/tile/TileEntityLavaFactoryController.java +++ b/src/main/java/ellpeck/actuallyadditions/tile/TileEntityLavaFactoryController.java @@ -31,6 +31,7 @@ public class TileEntityLavaFactoryController extends TileEntityBase implements I private static final int[][] CASE_POSITIONS = {{-1, 1, 0}, {1, 1, 0}, {0, 1, -1}, {0, 1, 1}}; public EnergyStorage storage = new EnergyStorage(3000000); private int currentWorkTime; + private int oldEnergy; @Override @SuppressWarnings("unchecked") @@ -48,6 +49,10 @@ public class TileEntityLavaFactoryController extends TileEntityBase implements I else{ this.currentWorkTime = 0; } + + if(this.oldEnergy != this.storage.getEnergyStored() && this.sendUpdateWithInterval()){ + this.oldEnergy = this.storage.getEnergyStored(); + } } }