summaryrefslogtreecommitdiffstats
path: root/nms-patches/CustomFunction.patch
blob: e4720577ad398e096e9373c7c44c1093e195cf84 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/server/CustomFunction.java
+++ b/net/minecraft/server/CustomFunction.java
@@ -48,7 +48,7 @@
                 }
 
                 try {
-                    ParseResults parseresults = customfunctiondata.a().getCommandDispatcher().a().parse(stringreader, customfunctiondata.f());
+                    ParseResults parseresults = customfunctiondata.d().parse(stringreader, customfunctiondata.f()); // CraftBukkit
 
                     if (parseresults.getReader().canRead()) {
                         if (parseresults.getExceptions().size() == 1) {