
Portable Cell can dupe or void items
myutin opened this issue · 0 comments
Describe the bug
If you click on the portable cell (item) while having its UI open, then all items moved into or out of the portable cell don't update its contents.
To Reproduce
To void an item (e.g. bread):
- Have a portable cell (PC) and bread in your hotbar.
- Open the PC's UI.
- Click on the PC item (then put it down anywhere or let it hover with your cursor).
- Shift-click the bread into the PC's UI.
- Close the PC's UI.
- There is no more bread in your inventory. Neither is there bread in the PC when you next open it.
To dupe an item (e.g. bread):
- Have a PC in your hotbar, and bread in the PC.
- [same as before]
- [same as before]
- Shift-click the bread out of the PC's UI.
- Close the PC's UI.
- There is now bread in your inventory. There is also bread in the PC when you next open it.
Expected behavior
(a) the portable cell item cannot be manipulated while its UI is open (a la Chisel UI)
or (b) manipulating the portable cell item instantly closes its UI
or (c) the portable cell item can be manipulated at will without causing duped or voided items
Additional context
Environment
- Minecraft Version: 1.12.2
- AE2 Version: 0.56.2
- Forge Version: 14.23.5.2860