EbonJaeger / perworldinventory-kt

Multi-world inventory plugin for Spigot written in Kotlin.
MIT License
46 stars 32 forks source link

v2.3.2 Does not save inventory changes. On next login inventory is reverted. #217

Open Kingdingbat opened 3 years ago

Kingdingbat commented 3 years ago

I'm using Paper 1.16.2 and Perworld Inventory 2.3.2 - And I think this change in the latest update might be causing issues?

> No longer save player data on leave, it's pointless

The plugin is causing players inventory to be reverted upon the next login and causing a item dupe exploit.

Steps to Repro:

  1. Log in with PWI 2.3.2 running on server
  2. Move items from inventory to a chest, eat some food to heal or damage yourself.
  3. Log out
  4. Log back in
  5. See that the items and your health are restored to the prior state before you made changes in step 2, but the items you moved to the chest are also there, causing a duplicate.
  6. Log off, and stop the server
  7. Restore Perworld Inventory to v2.3.1
  8. Log on. Repeat steps 2-4 and see that the inventory has not reverted back to before changes.

I hope this helps Troy

seema84 commented 3 years ago

I cannot reproduce with 1.16.3