mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 06:32:17 -07:00
SPIGOT-4024: Improve interactions of Vanilla tab completion, and also reloads
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user