diff options
author | md_5 <git@md-5.net> | 2018-07-21 11:20:38 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-21 11:23:11 +1000 |
commit | e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f (patch) | |
tree | a383d306ffe2bc3732a3c19b6fab9860478a5ddc /src/main/java/org | |
parent | dbc6c660eb9b3ddf438b22bc40b03504791e1865 (diff) | |
download | craftbukkit-e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f.tar craftbukkit-e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f.tar.gz craftbukkit-e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f.tar.lz craftbukkit-e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f.tar.xz craftbukkit-e5d6f6b596c3d52dd66133d13a1b52faaa82ef4f.zip |
SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index df6d227f..c86225c4 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -355,7 +355,7 @@ public final class CraftServer implements Server { } private void setVanillaCommands() { - CommandDispatcher dispatcher = console.getCommandDispatcher(); + CommandDispatcher dispatcher = console.vanillaCommandDispatcher; // Build a list of all Vanilla commands and create wrappers for (CommandNode<CommandListenerWrapper> cmd : dispatcher.a().getRoot().getChildren()) { |