mojira.dev
MC-188485

Inventory can get desynced when shift-clicking the Destroy Item slot

To Reproduce:

[media]
  1. Empty your inventory.

  2. Put some item in the first slot of your hotbar.

  3. Execute this command:

    /data get entity @s Inventory
    • ✔ Your inventory has a sword on server-side

  4. Clear your inventory by shift-clicking the Destroy Item slot.

  5. Quickly put the same item back by hovering your cursor on that item and then pressing 1.

  6. Execute this command.

    /data get entity @s Inventory
    • ❌ Your inventory is empty on server-side.

Related issues

Attachments

Comments

migrated
[media]
SoloAlguien

Can confirm in 21w13a.

SoloAlguien

Can confirm in 21w14a.

SoloAlguien

Can confirm in 21w16a

SoloAlguien

Can confirm in 21w17a.

SoloAlguien

Can confirm in 21w18a.

SoloAlguien

Can confirm in 21w19a.

SoloAlguien

Can confirm in 21w20a.

SoloAlguien

Can confirm in 1.17 Pre-release 1.

SoloAlguien

Can confirm in 1.17 Pre-release 2.

SoloAlguien

Can confirm in 1.17 Pre-release 3.

SoloAlguien

Can confirm in 1.17 and 1.17.1 Pre-release 1.

SPGoding

Giving ownership of this ticket to @unknown.

SoloAlguien

@SPGoding Thank you!😃

SoloAlguien

Fixed in 24w33a.

SoloAlguien

(Unassigned)

Community Consensus

Inventory, Networking

ghost-item, inventory-desync

1.15.2, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16.2 Release Candidate 1, ..., 23w33a, 1.20.2, 1.20.4, 24w12a, 1.21.1

24w33a

Retrieved