Adds an inefficient implementation of #1

Adds a technically working dial command whose tab completion is too horrendously slow to be usable
This commit is contained in:
2022-05-31 03:32:58 +02:00
parent a14e3b4d9d
commit 347a08c0e9
7 changed files with 215 additions and 10 deletions

View File

@@ -36,7 +36,7 @@ public class StargateCommand extends JavaPlugin {
PluginCommand stargateCommand = this.getCommand("stargateCommand");
if (stargateCommand != null) {
stargateCommand.setExecutor(new CommandStarGateCommand(stargateAPI, bannedConfigOptions));
stargateCommand.setTabCompleter(new StargateCommandTabCompleter(bannedConfigOptions));
stargateCommand.setTabCompleter(new StargateCommandTabCompleter(stargateAPI, bannedConfigOptions));
}
} else {
throw new IllegalStateException("Unable to hook into Stargate. Make sure the Stargate plugin is installed " +