aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/server/CustomFunctionData.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/server/CustomFunctionData.patch')
-rw-r--r--patch-remap/og/net/minecraft/server/CustomFunctionData.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/server/CustomFunctionData.patch b/patch-remap/og/net/minecraft/server/CustomFunctionData.patch
new file mode 100644
index 0000000000..21f7645c6a
--- /dev/null
+++ b/patch-remap/og/net/minecraft/server/CustomFunctionData.patch
@@ -0,0 +1,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() {