diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-26 11:51:31 +0000 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-02-26 11:51:31 +0000 |
commit | d7114a4f627114ff1c9e53e0478f91ca349b3b9b (patch) | |
tree | 5db20b61ba671f557f294bf23e84f3f52ba15262 /src/main/java | |
parent | 07b86b12306f0cb6c6002862665e8a601636d72e (diff) | |
download | craftbukkit-d7114a4f627114ff1c9e53e0478f91ca349b3b9b.tar craftbukkit-d7114a4f627114ff1c9e53e0478f91ca349b3b9b.tar.gz craftbukkit-d7114a4f627114ff1c9e53e0478f91ca349b3b9b.tar.lz craftbukkit-d7114a4f627114ff1c9e53e0478f91ca349b3b9b.tar.xz craftbukkit-d7114a4f627114ff1c9e53e0478f91ca349b3b9b.zip |
Fixed empty console! Oops!
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/util/ShortConsoleLogFormatter.java | 8 |
1 files 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 404cf32d..d8282580 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; } |