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

Allow item hover event count to be specified as any number #900

Merged

Conversation

booky10
Copy link
Collaborator

@booky10 booky10 commented Jul 23, 2024

Fixes compatibility with vanilla codec, as vanilla allows any number to be decoded within DFU, see https://github.com/Mojang/DataFixerUpper/blob/d0f713b0719b5f1ad77506e6a019c41782b8bcf1/src/main/java/com/mojang/serialization/Codec.java#L563

Should fix #899

Fixes compatibility with vanilla codec, as vanilla allows any number to be decoded within DFU
@retrooper
Copy link
Owner

Fails to build.

@booky10
Copy link
Collaborator Author

booky10 commented Jul 25, 2024

image

i dont think this build error is related to my pr at all, ill rerun the workflow

Edit: Seems to work just fine, idk what was wrong with the previous build

@retrooper retrooper merged commit f0b15c3 into retrooper:2.0 Jul 27, 2024
1 check 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.

Expected NBTInt but got NBTLong
2 participants