Dupe bug with ender chest
thomasd1979 opened this issue ยท 3 comments
Issue Description:
Backpacks opened from within an ender chest do not update their inventory when closed.
What happens:
All items added are deleted. All items removed are duped.
What you expected to happen:
not that.
Steps to reproduce (important):
- grab any backpack (even basic with no upgrades)
- place 10 of some item inside
- place the backpack in an ender chest
- open the backpack. Take the 10 items out
- close the backpack
- open the backpack. Take the 10 items out again
- close the backpack
- open the backpack. Note the 10 items still there.
- Place some other item in the backpack.
- close the backpack.
- open the backpack. Note the added item is gone.
...
Affected Versions (Do not use "latest"):
- IronBackpacks: 1.10.2-2.2.17
- Minecraft: 1.10.2
- Forge: 12.18.2.2124
This appears to be happening when the backpack is opened via right-click from inside ANY inventory except for another backpack (with the nesting upgrade)
Seems to be the exact opposite behavior from #85
Also: I tested in Forge 12.18.2.2171 and IB 2.2.18 (the "latest" as of posting), it still happens.
So I patched it with another bandaid style fix, this error will need to wait for larger scale internal changes to be implemented by myself be fully stable so I basically disabled it for all but backpacks -> other backpacks and normal 'e' inventory -> other backpacks (the 2 most common uses cases).