mirror of
https://github.com/YouHaveTrouble/CommandWhitelist.git
synced 2026-05-11 22:16:57 +00:00
adding aliases was a bad idea
This commit is contained in:
@@ -114,11 +114,6 @@ public class BungeeMainCommand extends Command implements TabExecutor {
|
||||
for (Map.Entry<String, Command> command : CommandWhitelistBungee.getPlugin().getProxy().getPluginManager().getCommands()) {
|
||||
if (!command.getKey().startsWith("/"))
|
||||
list.add(command.getKey());
|
||||
|
||||
for (String alias: command.getValue().getAliases()) {
|
||||
if (!alias.startsWith("/"))
|
||||
list.add(alias);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user