diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt index 2c5d49e64..5d64f1744 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt @@ -102,7 +102,7 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte var summ2 = Decimal.ZERO for ((i, energy) in energies.withIndex()) { - val diff = energy.transcieveEnergy(howMuch, isReceiving, simulate) + val diff = energy.transcieveEnergy(howMuch, isReceiving, true) distribution[i] = diff summ2 += distribution[i] }