Also lowercase aliases
This commit is contained in:
parent
bd39fad41b
commit
014997ccf8
@ -44,7 +44,7 @@ public class PluginManager
|
||||
commandMap.put(command.getName().toLowerCase(), command);
|
||||
for (String alias : command.getAliases())
|
||||
{
|
||||
commandMap.put(alias, command);
|
||||
commandMap.put(alias.toLowerCase(), command);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user