oh my god are you serious?
This commit is contained in:
parent
1828704859
commit
8d63488d72
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user