-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(JsonToSNBT): Always quote string values
Fixes an issue where having a Text component {"text":"1"} would convert to {"text":1} causing Java client to fail decoding it. Since SNBT allows quotes in values we always quote a value now. The network overhead introduced should be still minimal. Keys remain unquoted where possible.
- Loading branch information
1 parent
966139d
commit 9584d7e
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters