To Reproduce:
[media]Empty your inventory.
Put some item in the first slot of your hotbar.
Execute this command:
/data get entity @s Inventory
✔ Your inventory has a sword on server-side
Clear your inventory by shift-clicking the Destroy Item slot.
Quickly put the same item back by hovering your cursor on that item and then pressing 1.
Execute this command.
/data get entity @s Inventory
❌ Your inventory is empty on server-side.
Related issues
is duplicated by
Attachments
Comments


Can confirm in 21w13a.

Can confirm in 21w14a.

Can confirm in 21w16a

Can confirm in 21w17a.

Can confirm in 21w18a.

Can confirm in 21w19a.

Can confirm in 21w20a.

Can confirm in 1.17 Pre-release 1.

Can confirm in 1.17 Pre-release 2.

Can confirm in 1.17 Pre-release 3.

Can confirm in 1.17 and 1.17.1 Pre-release 1.
Giving ownership of this ticket to @unknown.

@SPGoding Thank you!😃

Fixed in 24w33a.