Fix tooltip for energy storage.

This commit is contained in:
drcrazy 2020-01-03 17:20:50 +03:00
parent 55e56c3962
commit f5360f8416

View file

@ -60,6 +60,8 @@ public class EnergyStorageBlockEntity extends PowerAcceptorBlockEntity
this.maxInput = maxInput;
this.maxOutput = maxOuput;
this.maxStorage = maxStorage;
// Call it again after we have proper values for energy I\O
checkTier();
}
// TilePowerAcceptor
@ -111,7 +113,7 @@ public class EnergyStorageBlockEntity extends PowerAcceptorBlockEntity
return maxInput;
}
// TileMachineBase
// MachineBaseBlockEntity
@Override
public void setFacing(Direction enumFacing) {
if (world == null) { return; }