Fixed inconsistent lowercase setting
This commit is contained in:
parent
80d424d6f8
commit
a608998f59
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ public class CommandCaller implements CommandExecutor {
|
|||
|
||||
@Override
|
||||
public boolean onCommand(CommandSender sender, Command command, String alias, String[] args) {
|
||||
String path = command.getName();
|
||||
String path = command.getName().toLowerCase();
|
||||
for (String arg : args)
|
||||
path += " " + arg;
|
||||
TBMCCommandBase cmd = TBMCChatAPI.GetCommands().get(path);
|
||||
|
|
Loading…
Reference in a new issue