Fixed bug with unclosed quotes

This commit is contained in:
zml2008
2011-09-17 21:10:39 -07:00
parent 46ba1c7f5b
commit 56fd654eed
2 changed files with 46 additions and 3 deletions

View File

@ -74,7 +74,7 @@ public class CommandContext {
build.append(' ').append(arg2);
}
}
args = removePortionOfArray(args, i, endIndex, build.toString());
if (endIndex < args.length) args = removePortionOfArray(args, i, endIndex, build.toString());
}
}