-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
items with dragonflyData constantly get resent #455
Comments
Guessing this is because of the resending done here: https://github.com/df-mc/dragonfly/blob/master/server/session/handler_inventory_transaction.go#L130. I feel like this might very well be because NBT is unordered in dragonfly and it'll change ordering randomly, making the client think the NBT's changed. |
Could you please see if 784c121 fixes this issue? |
updating to that commit gave me the above error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Items that have any custom data added using (item.Stack).WIthValue() appear to be synced every time the player tries to interact (not necessarily holding the item)
Steps to reproduce
if you are holding the item while right clicking itll also go up and down
this 'works best' on windows where right clicking on a block will spam the interaction packet
other actions like dropping items also make this occur to a lesser extent
I assume the cause of the flicker is the server resending the item to the client
The text was updated successfully, but these errors were encountered: