CraftBukkit/nms-patches/net/minecraft/server/CustomFunctionData.patch
2025-03-26 03:05:00 +11:00

12 lines
380 B
Diff

--- 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() {