summaryrefslogtreecommitdiffstats
path: root/nms-patches/MojangsonParser.patch
blob: abbaae7aa22cd3a5519517f6d3157d4f1ed6d90f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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();