oh my god are you serious?

This commit is contained in:
DBotThePony 2023-04-15 23:46:47 +07:00
parent 1828704859
commit 8d63488d72
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -65,7 +65,7 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte
var remaining = howMuch var remaining = howMuch
var currentSlot = if (isReceiving) currentChangeSlot else currentDischangeSlot var currentSlot = if (isReceiving) currentChangeSlot else currentDischangeSlot
for (i in 0 until container.containerSize - 1) { for (i in 0 until container.containerSize) {
val item = container[currentSlot] val item = container[currentSlot]
if (!item.isEmpty) { if (!item.isEmpty) {