From 30b148f7ca23a83e94972ad9df64c35fca1c8a08 Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Wed, 12 Feb 2014 13:05:21 -0600 Subject: [PATCH] Don't use the actual args but instead use our faked arguments. --- .../com/graywolf336/jail/command/subcommands/JailCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/command/subcommands/JailCommand.java b/src/main/java/com/graywolf336/jail/command/subcommands/JailCommand.java index 60da389..6e7d216 100644 --- a/src/main/java/com/graywolf336/jail/command/subcommands/JailCommand.java +++ b/src/main/java/com/graywolf336/jail/command/subcommands/JailCommand.java @@ -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;