diff options
Diffstat (limited to 'nms-patches/MojangsonParser.patch')
-rw-r--r-- | nms-patches/MojangsonParser.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nms-patches/MojangsonParser.patch b/nms-patches/MojangsonParser.patch new file mode 100644 index 00000000..abbaae7a --- /dev/null +++ b/nms-patches/MojangsonParser.patch @@ -0,0 +1,20 @@ +--- a/net/minecraft/server/MojangsonParser.java ++++ b/net/minecraft/server/MojangsonParser.java +@@ -82,7 +82,7 @@ + } + } + +- private NBTBase b(String s) { ++ public NBTBase b(String s) { // PAIL + try { + if (MojangsonParser.i.matcher(s).matches()) { + return new NBTTagFloat(Float.parseFloat(s.substring(0, s.length() - 1))); +@@ -207,7 +207,7 @@ + } + } + +- private NBTBase h() throws CommandSyntaxException { ++ public NBTBase h() throws CommandSyntaxException { // PAIL + this.a('['); + int i = this.n.getCursor(); + char c0 = this.n.read(); |