This commit is contained in:
Frank van der Heijden 2020-07-09 13:37:20 +02:00
parent e5038fce31
commit 7128b45ade
No known key found for this signature in database
GPG key ID: 26DA56488D314D11

View file

@ -55,7 +55,7 @@ public class ServerUtils extends JavaPlugin implements CommandExecutor {
CommandCompletions<BukkitCommandCompletionContext> completions = commandManager.getCommandCompletions();
completions.registerAsyncCompletion("plugins", context -> manager.getPluginNames());
completions.registerAsyncCompletion("pluginJars", context -> manager.getPluginFileNames());
completions.registerAsyncCompletion("supportedConfigs ", context -> CommandServerUtils.getSupportedConfigs());
completions.registerAsyncCompletion("supportedConfigs", context -> CommandServerUtils.getSupportedConfigs());
completions.registerAsyncCompletion("commands", context -> {
try {
return RCommandMap.getKnownCommands(RCraftServer.getCommandMap()).keySet();