IC2 Classic

IC2 Classic

2M Downloads

IItemHandler violation

bziemons opened this issue · 2 comments

commented

Logistics Pipes had an issue inserting into empty machines RS485/LogisticsPipes#1663

I debugged into the code and it seems like the BasicHandlerInstance implementation of the net.minecraftforge.items.IItemHandler modifies the item stack that is passed to insertItem. The documentation of that function, however, states:

stack – ItemStack to insert. This must not be modified by the item handler.

commented

Oh i forgot to copy the stack...
Ty. I will address that with the next patch.

But I ask for patience since 1.19 already takes to much time every single day...

commented

@bziemons addressing this now. (Patch might take a few days, but now patch work starts)