Don't use the actual args but instead use our faked arguments.
This commit is contained in:
parent
5acfa351d2
commit
30b148f7ca
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user