Fix tooltip for energy storage.
This commit is contained in:
parent
55e56c3962
commit
f5360f8416
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ public class EnergyStorageBlockEntity extends PowerAcceptorBlockEntity
|
||||||
this.maxInput = maxInput;
|
this.maxInput = maxInput;
|
||||||
this.maxOutput = maxOuput;
|
this.maxOutput = maxOuput;
|
||||||
this.maxStorage = maxStorage;
|
this.maxStorage = maxStorage;
|
||||||
|
// Call it again after we have proper values for energy I\O
|
||||||
|
checkTier();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TilePowerAcceptor
|
// TilePowerAcceptor
|
||||||
|
@ -111,7 +113,7 @@ public class EnergyStorageBlockEntity extends PowerAcceptorBlockEntity
|
||||||
return maxInput;
|
return maxInput;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TileMachineBase
|
// MachineBaseBlockEntity
|
||||||
@Override
|
@Override
|
||||||
public void setFacing(Direction enumFacing) {
|
public void setFacing(Direction enumFacing) {
|
||||||
if (world == null) { return; }
|
if (world == null) { return; }
|
||||||
|
|
Loading…
Reference in a new issue