Merge pull request #1 from drtshock/1.6.x

Up
This commit is contained in:
Gabriele C 2016-05-03 21:50:25 +02:00
commit f99646b028
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public abstract class MCommand<T extends MPlugin> {
// Is there a matching sub command?
if (args.size() > 0) {
for (MCommand<?> subCommand : this.subCommands) {
if (subCommand.aliases.contains(args.get(0))) {
if (subCommand.aliases.contains(args.get(0).toLowerCase())) {
args.remove(0);
commandChain.add(this);
subCommand.execute(sender, args, commandChain);