From d202bc47394633064dbb8e8e3a9b40bb6760940b Mon Sep 17 00:00:00 2001 From: sk89q Date: Sat, 29 Jan 2011 12:00:36 -0800 Subject: [PATCH] Fixed arguments handling when flags are involved. --- src/com/sk89q/util/commands/CommandContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/sk89q/util/commands/CommandContext.java b/src/com/sk89q/util/commands/CommandContext.java index add522149..0b6c64cee 100644 --- a/src/com/sk89q/util/commands/CommandContext.java +++ b/src/com/sk89q/util/commands/CommandContext.java @@ -47,7 +47,7 @@ public class CommandContext { System.arraycopy(args, i, newArgs, 1, args.length - i); newArgs[0] = args[0]; - this.args = args; + this.args = newArgs; } public String getCommand() {