aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/server/CustomFunctionData.patch
blob: 21f7645c6a534ee308d1bf5722b31724f4d17ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/minecraft/server/CustomFunctionData.java
+++ b/net/minecraft/server/CustomFunctionData.java
@@ -36,7 +36,7 @@
     }
 
     public CommandDispatcher<CommandListenerWrapper> getDispatcher() {
-        return this.server.getCommands().getDispatcher();
+        return this.server.vanillaCommandDispatcher.getDispatcher(); // CraftBukkit
     }
 
     public void tick() {