Saving players with keepInventory enabled on death saves a state where a player has an empty inventory as #getDrops returns an empty list #73
Labels
type: bug
This issue is about something that isn't working as intended
Issue:
When a player dies with
keepInventory
enabled (event.getKeepInventory), it saves an empty inventory because#getDrops
is empty.Usecase:
Using a dynamic
keepInventory
in certain worlds/regions and need to save players inventory on death ifkeepInventory
is disabledProposed solutions:
keepInventory
enabled.| This is a quick fix but will not support custom half-keepinv where only some items drop
| Supports custom half-keepinv and saves only if there are drops, else do not create useless snapshot
The text was updated successfully, but these errors were encountered: