PaperMC/nms-patches/CustomFunctionData.patch

12 lines
374 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
2019-05-14 10:00:00 +10:00
@@ -54,7 +54,7 @@
2017-05-14 12:00:00 +10:00
}
2018-07-15 10:00:00 +10:00
public com.mojang.brigadier.CommandDispatcher<CommandListenerWrapper> d() {
2018-12-13 11:00:00 +11:00
- return this.server.getCommandDispatcher().a();
+ return this.server.vanillaCommandDispatcher.a(); // CraftBukkit
2017-05-14 12:00:00 +10:00
}
2018-12-13 11:00:00 +11:00
public void tick() {