This commit is contained in:
Jesse Boyd 2016-03-28 23:04:08 +11:00
parent dcd1a50a0c
commit d9c0ec27b0

View File

@ -150,7 +150,7 @@ public class MainCommand extends Command {
String[] tmp = new String[args.length + 1];
tmp[0] = split2[0];
tmp[args.length] = split2[1];
if (args.length > 2) {
if (args.length >= 2) {
System.arraycopy(args, 1, tmp, 1, args.length - 1);
}
args = tmp;