CraftBukkit/nms-patches/net/minecraft/server/CustomFunctionData.patch
2021-03-16 09:00:00 +11:00

12 lines
372 B
Diff

--- a/net/minecraft/server/CustomFunctionData.java
+++ b/net/minecraft/server/CustomFunctionData.java
@@ -36,7 +36,7 @@
}
public CommandDispatcher<CommandListenerWrapper> getCommandDispatcher() {
- return this.server.getCommandDispatcher().a();
+ return this.server.vanillaCommandDispatcher.a(); // CraftBukkit
}
public void tick() {