-
Notifications
You must be signed in to change notification settings - Fork 9
Types and optional quotes #38
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
base: master
Are you sure you want to change the base?
Conversation
Not the best implementation possible, but i didn't want to modify the module structure
can you add a test showing how things work better now ? |
Minecraft simply rejects the file without quotes and loads a backup from somewhere. Or you mean the quotes themselves, like {a:qwe} => {"a":"qwe"} ? |
Yes adding a test for both would be best This package code is complex, so it's important all new features are tested so the next PR doesn't break it |
13eaff2
to
0a7b4c2
Compare
Correction: Minecraft 1.18.2 doesn't reject the file, it skips the "invalid" SNBT data. |
e0bf799
to
e32aada
Compare
I think it's ready to be merged... For quite a long time |
For the original package...
Minecraft may not read SNBT tags with no quotes (string values and names). It seem to always put them by default, also.