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 accidental float and double NaN parsing #493

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

kennytv
Copy link
Contributor

@kennytv kennytv commented Nov 2, 2021

More cursed snbt parity issues by yours truly. NaNd is parsed as a double with adventure, but as a String by all Vanilla versions, same for the float equivalent. I didn't test the following statement, but as far as I can tell Infinityd happens to get caught by a NFE with the first f in the word already, but I figured an extra test case wouldn't hurt.

@kashike kashike added this to the 4.10.0 milestone Nov 2, 2021
@zml2008 zml2008 self-assigned this Nov 4, 2021
@zml2008 zml2008 merged commit 843a733 into KyoriPowered:master Nov 4, 2021
This was referenced Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants