Duplication bug with filters
GreninjaSan opened this issue ยท 3 comments
Never mind, I figured out it's Quark.
In any case, this is on them, not me. I've looked at their code, and they just copy items out of the slots / item handler, without checking to see if the slots or underlying item handler actually permit item extraction. See https://github.com/VazkiiMods/Quark/blob/master/src/main/java/vazkii/quark/base/handler/InventoryTransferHandler.java#L177-L186 for what I mean.
They should either check Slot#mayPickup()
and/or use IItemHandler.extractItem()
, not just blindly read the item out of the inventory.