Paper
Paper copied to clipboard
Right clickable item desync
Expected behavior
Other players should see you using items.
Observed/Actual behavior
When you scroll to a right clickable item (food, bow etc.) and then quickly start using it, other clients won't see you doing it.
Steps/models to reproduce
Here's a video showing it https://user-images.githubusercontent.com/35194709/159305135-326edb7f-c707-4725-b694-f753aeafcd39.mp4
As you can see, if I immediately start holding right click after I select an item, the other client won't see me using that item.
Plugin and Datapack List
plugins [18:17:20 INFO]: Plugins (0): datapack list [18:17:22 INFO]: There are 2 data packs enabled: [vanilla (built-in)], [file/bukkit (world)] [18:17:22 INFO]: There are no more data packs available
Paper version
This server is running Paper version git-Paper-265 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) (Git: 993f828) You are running the latest version Previous version: git-Paper-225 (MC: 1.18.2)
Other
I've tested this on a 1.8 server with ViaVersion and the issue doesn't exist there, meaning this isn't a client issue.
Can reproduce on vanilla and paper 1.19.
This can also be reproduced by using an item and having the observing player reconnect.
On reconnect
Tracked via: https://bugs.mojang.com/browse/MC-254984