Fix all your getStackInSlotOnClosing
SoniEx2 opened this issue ยท 6 comments
But it's inconsistent with getStackInSlot(i)
followed by setInventorySlotContents(i, null)
!
Yeah, var1 is supposed to be the slot number, splitting the stack in the inventory by it is weird. That said, no one should call this method, and even more, now that I think about it, there may be some of the robot boards assume they have complete control over the robot's inventory and might break if you forcefully add/remove stacks from it.
@hea3ven - wait, that's the slot number!? okay that's a bug then wow