Skip to content
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

Fix registry element equality check #1003

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

booky10
Copy link
Collaborator

@booky10 booky10 commented Sep 21, 2024

Cherry-picked from 1.21.2 update branch

See commit description of c9d42f8 for some more detailed info

Fixes #962

Could potentially solve retrooper#962, although I can't reproduce that issue

This may be caused by two different changes to packetevents:
1. We did a little memory optimization so only elements different to the vanilly registry get stored
2. We fixed an issue where some elements would not equal the "same" vanilla element

This could cause every custom element to just never be registered, so we now do explicit deep-equals checks before saving the vanilla element instead
Caused by me just cherry-picking some commits from another branch
@booky10 booky10 marked this pull request as ready for review September 21, 2024 13:38
@booky10 booky10 merged commit be24877 into retrooper:2.0 Sep 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

World height is wrong on join
1 participant