Make subcommands case insensitive

CONFIRM should be the same as confirm
This commit is contained in:
graywolf336 2015-05-27 10:48:36 -05:00
parent 2d11239ce4
commit f8ae4f3b80

View File

@ -76,7 +76,7 @@ public class JailHandler {
}else {
//Get the matches from the first argument passed
List<Command> matches = getMatches(args[0]);
List<Command> matches = getMatches(args[0].toLowerCase());
if(matches.size() == 0) {
//No matches found, thus it is more likely than not they are trying to jail someone