Don't use the actual args but instead use our faked arguments.

This commit is contained in:
graywolf336 2014-02-12 13:05:21 -06:00
parent 5acfa351d2
commit 30b148f7ca

View File

@ -59,7 +59,7 @@ public class JailCommand implements Command {
Jailing params = null;
try {
params = CliFactory.parseArguments(Jailing.class, args);
params = CliFactory.parseArguments(Jailing.class, arguments.toArray(new String[arguments.size()]));
}catch(ArgumentValidationException e) {
sender.sendMessage(ChatColor.RED + e.getMessage());
return true;