From a608998f592d75f8f278e7cb23dcbd464cb32372 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sat, 19 Nov 2016 19:20:49 +0100 Subject: [PATCH] Fixed inconsistent lowercase setting --- src/main/java/buttondevteam/chat/commands/CommandCaller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/buttondevteam/chat/commands/CommandCaller.java b/src/main/java/buttondevteam/chat/commands/CommandCaller.java index eff0c2b..1caf456 100644 --- a/src/main/java/buttondevteam/chat/commands/CommandCaller.java +++ b/src/main/java/buttondevteam/chat/commands/CommandCaller.java @@ -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);