PaperMC/nms-patches/CustomFunctionData.patch

12 lines
374 B
Diff
Raw Normal View History

2017-05-14 04:00:00 +02:00
--- a/net/minecraft/server/CustomFunctionData.java
+++ b/net/minecraft/server/CustomFunctionData.java
2018-12-25 22:00:00 +01:00
@@ -55,7 +55,7 @@
2017-05-14 04:00:00 +02:00
}
2018-07-15 02:00:00 +02:00
public com.mojang.brigadier.CommandDispatcher<CommandListenerWrapper> d() {
2018-12-13 01:00:00 +01:00
- return this.server.getCommandDispatcher().a();
+ return this.server.vanillaCommandDispatcher.a(); // CraftBukkit
2017-05-14 04:00:00 +02:00
}
2018-12-13 01:00:00 +01:00
public void tick() {