Fix player death kept items not being in same slot (#6663)

This commit is contained in:
Jake Potrebic
2021-09-25 12:06:37 -07:00
parent 90cb93d691
commit e62fd64c62
2 changed files with 3 additions and 2 deletions

View File

@@ -16,4 +16,4 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ if (event.shouldDropExperience()) this.dropExperience(); // Paper - tie to event
// we clean the player's inventory after the EntityDeathEvent is called so plugins can get the exact state of the inventory.
if (!event.getKeepInventory()) {
this.getInventory().clearContent();
// Paper start - replace logic