Derp, set the time from the given one.

This commit is contained in:
graywolf336 2013-12-19 11:39:18 -06:00
parent 7376326288
commit 92c19fd05f

View File

@ -43,7 +43,7 @@ public class JailCommand implements Command {
Long time = 10L; Long time = 10L;
try { try {
Long.parseLong(params.time()); time = Long.parseLong(params.time());
}catch(NumberFormatException e) { }catch(NumberFormatException e) {
sender.sendMessage(ChatColor.RED + "Number format is incorrect."); sender.sendMessage(ChatColor.RED + "Number format is incorrect.");
return true; return true;