From d7114a4f627114ff1c9e53e0478f91ca349b3b9b Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Sat, 26 Feb 2011 11:51:31 +0000 Subject: [PATCH] Fixed empty console! Oops! --- .../bukkit/craftbukkit/util/ShortConsoleLogFormatter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/util/ShortConsoleLogFormatter.java b/src/main/java/org/bukkit/craftbukkit/util/ShortConsoleLogFormatter.java index 404cf32dfe..d828258068 100644 --- a/src/main/java/org/bukkit/craftbukkit/util/ShortConsoleLogFormatter.java +++ b/src/main/java/org/bukkit/craftbukkit/util/ShortConsoleLogFormatter.java @@ -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; }