YuRaNnNzZZ — Сегодня, в 17:38
:WiseTree:
This commit is contained in:
parent
c9026b1cf7
commit
c6e0777942
@ -88,6 +88,8 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte
|
||||
if (!simulate && !summ.isZero) {
|
||||
setChangedLight()
|
||||
gaugeLevel = (batteryLevel / maxBatteryLevel).toFloat()
|
||||
} else if (!simulate && container.isEmpty) {
|
||||
gaugeLevel = 0f
|
||||
}
|
||||
|
||||
if (!simulate) {
|
||||
|
Loading…
Reference in New Issue
Block a user