mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Fixed empty console! Oops!
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
6940b583c4
commit
1c5b9d4efc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user