DeadChest

DeadChest

187k Downloads

Inventory is cleared before InventoryRollBackPlus can save a copy

DavidDoesCode opened this issue ยท 1 comments

commented

Is your feature request related to a problem? Please describe.
The inventory is cleared before inventory roll back plus is able to make a full save

The dev of https://www.spigotmc.org/resources/inventory-rollback-plus-1-8-1-21-4.85811/ looked at this issue and reported the following:
TLDR: Plugins like DeadChest or AngelChests delete your player data when you die instead of preventing items from dropping to the floor. Some of these plugins now have config options to not delete player data. Weird that this isn't the default, but contact the developers of those plugins if you need help.

Describe the solution you'd like
Ideally there is a config to lower the priority of deletion so inventory roll back plus can make a save? Not really sure what the options are.

Additional context
I swear this worked fine in 1.20 but Im not sure now. Ive updated everything to latest versions and I am using 1.21.1

commented

To add: The player's armour is saved and I think whatever item they are holding. Their inventory is not saved.

I'm wondering if lowering the Event listen priority would be enough to let InventoryRollBackPlus catch a snapshot of the inventory - I'll try to do this myself.