Fixed inconsistent lowercase setting

This commit is contained in:
Norbi Peti 2016-11-19 19:20:49 +01:00
parent 80d424d6f8
commit a608998f59

View file

@ -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);