Skip to content

Commit

Permalink
Ignore case for command arguments; resolves DRE2N/DungeonsXL#192
Browse files Browse the repository at this point in the history
  • Loading branch information
Sataniel98 committed Dec 27, 2016
1 parent 9dcb577 commit 0c575c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public BRCommands(String label, CommandExecutor executor, BRCommand... command)
*/
public BRCommand getCommand(String commandName) {
for (BRCommand command : commands) {
if (command.getCommand().equals(commandName)) {
if (command.getCommand().equalsIgnoreCase(commandName)) {
return command;
}
}
Expand Down

0 comments on commit 0c575c9

Please sign in to comment.