adding aliases was a bad idea

This commit is contained in:
YouHaveTrouble
2020-11-02 14:53:27 +01:00
parent 698b4468f1
commit 2e0b15b374
@@ -114,11 +114,6 @@ public class BungeeMainCommand extends Command implements TabExecutor {
for (Map.Entry<String, Command> command : CommandWhitelistBungee.getPlugin().getProxy().getPluginManager().getCommands()) { for (Map.Entry<String, Command> command : CommandWhitelistBungee.getPlugin().getProxy().getPluginManager().getCommands()) {
if (!command.getKey().startsWith("/")) if (!command.getKey().startsWith("/"))
list.add(command.getKey()); list.add(command.getKey());
for (String alias: command.getValue().getAliases()) {
if (!alias.startsWith("/"))
list.add(alias);
}
} }
} }
} }