From 92c19fd05fc4c19beaa267bf3302aec627f7897e Mon Sep 17 00:00:00 2001 From: graywolf336 Date: Thu, 19 Dec 2013 11:39:18 -0600 Subject: [PATCH] Derp, set the time from the given one. --- .../java/com/graywolf336/jail/command/commands/JailCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/graywolf336/jail/command/commands/JailCommand.java b/src/main/java/com/graywolf336/jail/command/commands/JailCommand.java index 48fd873..646605f 100644 --- a/src/main/java/com/graywolf336/jail/command/commands/JailCommand.java +++ b/src/main/java/com/graywolf336/jail/command/commands/JailCommand.java @@ -43,7 +43,7 @@ public class JailCommand implements Command { Long time = 10L; try { - Long.parseLong(params.time()); + time = Long.parseLong(params.time()); }catch(NumberFormatException e) { sender.sendMessage(ChatColor.RED + "Number format is incorrect."); return true;