YuRaNnNzZZ — Сегодня, в 17:38

:WiseTree:
This commit is contained in:
DBotThePony 2023-06-20 17:39:24 +07:00
parent c9026b1cf7
commit c6e0777942
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -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) {