craftbukkit/nms-patches/net/minecraft/server/CustomFunctionData.patch

12 lines
380 B
Diff
Raw Normal View History

2017-05-14 12:00:00 +10:00
--- a/net/minecraft/server/CustomFunctionData.java
+++ b/net/minecraft/server/CustomFunctionData.java
2023-09-22 02:40:00 +10:00
@@ -45,7 +45,7 @@
2017-05-14 12:00:00 +10:00
}
2021-11-22 09:00:00 +11:00
public CommandDispatcher<CommandListenerWrapper> getDispatcher() {
- return this.server.getCommands().getDispatcher();
+ return this.server.vanillaCommandDispatcher.getDispatcher(); // CraftBukkit
2017-05-14 12:00:00 +10:00
}
2018-12-13 11:00:00 +11:00
public void tick() {