mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-09 04:09:54 +01:00
Fixed empty console! Oops!
This commit is contained in:
parent
07b86b1230
commit
d7114a4f62
@ -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