Fixed arguments handling when flags are involved.

This commit is contained in:
sk89q 2011-01-29 12:00:36 -08:00
parent a3fd9a18f7
commit d202bc4739

View File

@ -47,7 +47,7 @@ public class CommandContext {
System.arraycopy(args, i, newArgs, 1, args.length - i); System.arraycopy(args, i, newArgs, 1, args.length - i);
newArgs[0] = args[0]; newArgs[0] = args[0];
this.args = args; this.args = newArgs;
} }
public String getCommand() { public String getCommand() {