Right clickable item desync
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rapid right-click sequence described in the issue and compare what the local player sees with what another client receives. Trace the Paper server path for selecting and using right-click items; the issue is done when other clients consistently see food, bows, and similar items being used after quick selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100