Fixed empty console! Oops!

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
CraftBukkit/Spigot 2011-02-26 11:51:31 +00:00
parent 6940b583c4
commit 1c5b9d4efc

View File

@ -25,13 +25,13 @@ public class ShortConsoleLogFormatter extends Formatter {
}
} catch (OptionException ex) {
System.err.println("Given date format is not valid. Falling back to default.");
} finally {
if (date == null) {
date = new SimpleDateFormat("HH:mm:ss");
}
}
}
if (date == null) {
date = new SimpleDateFormat("HH:mm:ss");
}
this.date = date;
}