PluginBugs / Issues-ItemsAdder

Repository used to keep track of issues of my plugin ItemsAdder
https://itemsadder.devs.beer
53 stars 21 forks source link

Blocks turn to Noteblock temporarily #3007

Closed Xiao-MoMi closed 1 year ago

Xiao-MoMi commented 1 year ago

Terms

Discord tag (optional)

No response

What happened?

https://github.com/PluginBugs/Issues-ItemsAdder/assets/70987828/5909c782-1a54-4bc4-8006-c3aa295685bc

https://github.com/PluginBugs/Issues-ItemsAdder/assets/70987828/0f48c888-a8bf-42f5-9ac5-fd089fa5f87d

Steps to reproduce the issue

Follow the video :) I think it's caused by some async methods so client received two block update packets

Server version

No response

ItemsAdder Version

3.5.0c-r5

ProtocolLib Version

5.1.1-SNAPSHOT-668

LoneLibs Version

1.0.25

FULL server log

No response

Error (optional)

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 1 year ago

It's impossible to fix. The client predicts blocks changes and ItemsAdder is reverting the change. You see the noteblock for a brief moment because of client->server connection delay which is impossible to prevent.