Summary:
If a player picks up an item and arrows and has arrows in their off hand, a desync may occur and the item will become invisible, with the wrong amount (if there was already a stackable item in the inventory) and unmovable until re-entering the world or before any interaction.
Steps to reproduce:
Take 1 arrow in the off hand.
Throw away the arrow.
Throw away more items.
Wait a couple of seconds.
Approach the thrown items.
Open your inventory and look at the items.
Throw arrows first, then items! Throw in one place without moving the screen.
Observed results:
The item picked up with arrows became invisible in the inventory.
Expected results:
Items will not become invisible.
Video:
[media]
I want this to be fixed in 1.19.40.