HOLY SHIT
This commit is contained in:
parent
4e064c2ac5
commit
9b92221221
@ -102,7 +102,7 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte
|
|||||||
var summ2 = Decimal.ZERO
|
var summ2 = Decimal.ZERO
|
||||||
|
|
||||||
for ((i, energy) in energies.withIndex()) {
|
for ((i, energy) in energies.withIndex()) {
|
||||||
val diff = energy.transcieveEnergy(howMuch, isReceiving, simulate)
|
val diff = energy.transcieveEnergy(howMuch, isReceiving, true)
|
||||||
distribution[i] = diff
|
distribution[i] = diff
|
||||||
summ2 += distribution[i]
|
summ2 += distribution[i]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user