diff options
Diffstat (limited to 'src/main/java/net/minecraft')
-rw-r--r-- | src/main/java/net/minecraft/server/ConsoleLogFormatter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/ConsoleLogFormatter.java b/src/main/java/net/minecraft/server/ConsoleLogFormatter.java index 943bb952..6a58493c 100644 --- a/src/main/java/net/minecraft/server/ConsoleLogFormatter.java +++ b/src/main/java/net/minecraft/server/ConsoleLogFormatter.java @@ -39,11 +39,11 @@ final class ConsoleLogFormatter extends Formatter { stringbuilder.append(" [WARNING] "); } else if (level == Level.SEVERE) { stringbuilder.append(" [SEVERE] "); - } else if (level == Level.SEVERE) { + } else { // CraftBukkit stringbuilder.append(" [").append(level.getLocalizedName()).append("] "); } - stringbuilder.append(logrecord.getMessage()); + stringbuilder.append(formatMessage(logrecord)); // CraftBukkit stringbuilder.append('\n'); Throwable throwable = logrecord.getThrown(); |