Commands should not be case-sensitive.
This commit is contained in:
parent
93d15e6228
commit
0731a0a00c
@ -67,7 +67,7 @@ public final class SimpleCommandMap implements CommandMap {
|
||||
*/
|
||||
public boolean dispatch(CommandSender sender, String commandLine) {
|
||||
String[] args = commandLine.split(" ");
|
||||
String sentCommandLabel = args[0];
|
||||
String sentCommandLabel = args[0].toLowerCase();
|
||||
|
||||
args = Arrays.copyOfRange(args, 1, args.length);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user