Also lowercase aliases

This commit is contained in:
md_5 2013-02-06 17:52:16 +11:00
parent bd39fad41b
commit 014997ccf8

View File

@ -44,7 +44,7 @@ public class PluginManager
commandMap.put(command.getName().toLowerCase(), command); commandMap.put(command.getName().toLowerCase(), command);
for (String alias : command.getAliases()) for (String alias : command.getAliases())
{ {
commandMap.put(alias, command); commandMap.put(alias.toLowerCase(), command);
} }
} }