Paper/nms-patches/CustomFunctionData.patch

12 lines
393 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
2019-05-14 02:00:00 +02:00
@@ -54,7 +54,7 @@
2017-05-14 04:00:00 +02:00
}
2020-01-21 22:00:00 +01:00
public com.mojang.brigadier.CommandDispatcher<CommandListenerWrapper> getCommandDispatcher() {
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() {