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;