mojira.dev
MC-308111

Items can enter the player's inventory after death, causing them to be deleted with the `keep_inventory` game rule disabled

Players are able to pick up items right after they die which results in the item being saved to the dead player’s inventory instead of the server rejecting the pick up completely. This results in the item being completely deleted upon respawning, item loss in survival.

Steps to Reproduce:
1) Stand on a 23 block tall pillar
2) Jump off it and move an item to your 2x2 crafting grid
3) Shift click the item into your inventory at the same time as you hit the ground
4) Notice the item entered your inventory in the death screen (if it worked), and gets deleted upon respawning

Notes:
You can also do this with shift clicking an item into your inventory from a container at the same time as you die

Comments 0

No comments.

Shuddery

Nathan Wolf

Confirmed

Platform

Important

Inventory

26.1.2, 26.2 Snapshot 7

26.2 Pre-Release 1

Retrieved