mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-07-05 16:40:04 +00:00
Fixed arguments handling when flags are involved.
This commit is contained in:
parent
a3fd9a18f7
commit
d202bc4739
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user