From bee74680e607c2e29b038329f62181238911cd83 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Sun, 14 Jan 2024 11:04:49 +0100 Subject: add remapped patches as a test --- .../net/minecraft/server/ServerFunctionManager.java.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patch-remap/mache-vineflower-stripped/net/minecraft/server/ServerFunctionManager.java.patch (limited to 'patch-remap/mache-vineflower-stripped/net/minecraft/server/ServerFunctionManager.java.patch') diff --git a/patch-remap/mache-vineflower-stripped/net/minecraft/server/ServerFunctionManager.java.patch b/patch-remap/mache-vineflower-stripped/net/minecraft/server/ServerFunctionManager.java.patch new file mode 100644 index 0000000000..bbd09dbee1 --- /dev/null +++ b/patch-remap/mache-vineflower-stripped/net/minecraft/server/ServerFunctionManager.java.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/ServerFunctionManager.java ++++ b/net/minecraft/server/ServerFunctionManager.java +@@ -33,7 +36,7 @@ + } + + public CommandDispatcher getDispatcher() { +- return this.server.getCommands().getDispatcher(); ++ return this.server.vanillaCommandDispatcher.getDispatcher(); // CraftBukkit + } + + public void tick() { -- cgit v1.2.3