summaryrefslogtreecommitdiffstats
path: root/nms-patches/CustomFunctionData.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/CustomFunctionData.patch')
-rw-r--r--nms-patches/CustomFunctionData.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/CustomFunctionData.patch b/nms-patches/CustomFunctionData.patch
index 8542f3a5..03f28821 100644
--- a/nms-patches/CustomFunctionData.patch
+++ b/nms-patches/CustomFunctionData.patch
@@ -13,11 +13,11 @@
}
public com.mojang.brigadier.CommandDispatcher<CommandListenerWrapper> d() {
-- return this.f.getCommandDispatcher().a();
-+ return this.f.vanillaCommandDispatcher.a(); // CraftBukkit
+- return this.server.getCommandDispatcher().a();
++ return this.server.vanillaCommandDispatcher.a(); // CraftBukkit
}
- public void Y_() {
+ public void tick() {
@@ -164,7 +164,7 @@
arraylist.add(CompletableFuture.supplyAsync(() -> {
return a(iresourcemanager, minecraftkey);