diff options
Diffstat (limited to 'patches/server/0284-Async-command-map-building.patch')
-rw-r--r-- | patches/server/0284-Async-command-map-building.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0284-Async-command-map-building.patch b/patches/server/0284-Async-command-map-building.patch index ac48542059..7f58d78b88 100644 --- a/patches/server/0284-Async-command-map-building.patch +++ b/patches/server/0284-Async-command-map-building.patch @@ -9,10 +9,10 @@ commands if the server is restarting. Using the default async pool caused issues due to the shutdown logic generally being much later. diff --git a/src/main/java/net/minecraft/commands/Commands.java b/src/main/java/net/minecraft/commands/Commands.java -index 03966f447354fb16a01442ff6c6257fa19461bcd..6383cdfe3e2b61314fee7f7236dc7df1c1e8bfb6 100644 +index eec5279ac4386132fa053c57889e32e6b8141614..b754c0b3e2cd878fca5f702daca64f837ec83451 100644 --- a/src/main/java/net/minecraft/commands/Commands.java +++ b/src/main/java/net/minecraft/commands/Commands.java -@@ -460,6 +460,24 @@ public class Commands { +@@ -452,6 +452,24 @@ public class Commands { if ( org.spigotmc.SpigotConfig.tabComplete < 0 ) return; // Spigot // CraftBukkit start // Register Vanilla commands into builtRoot as before @@ -37,7 +37,7 @@ index 03966f447354fb16a01442ff6c6257fa19461bcd..6383cdfe3e2b61314fee7f7236dc7df1 Map<CommandNode<CommandSourceStack>, CommandNode<SharedSuggestionProvider>> map = Maps.newIdentityHashMap(); // Use identity to prevent aliasing issues RootCommandNode vanillaRoot = new RootCommandNode(); -@@ -477,7 +495,14 @@ public class Commands { +@@ -469,7 +487,14 @@ public class Commands { for (CommandNode node : rootcommandnode.getChildren()) { bukkit.add(node.getName()); } |