[bug] Item dupe
LukeOnuke opened this issue ยท 1 comments
Description
A simple way to dupe items using backpacks from sophisticated backpacks.
How to replicate
- Take a backpack
- Fill with any item
- Hold q and wait for the backpack to drop
- Whilst the menu is open take the items out
- Pickup backpack
- Repeat
This is fixed in the latest version. It adds world saved data as a backing store for backpacks so it's impossible to duplicate inventory there as any kind of item manipulation won't prevent saving the inventory to the correct spot from where it's open the next time. And I have also added a bit of code to close the backpack screen in case player drops a backpack like this just because it seems odd working with backpack's inventory while the actual item is on the ground in entity form