From a3a744217461d71f9935f47c309154c8d4de9bad Mon Sep 17 00:00:00 2001 From: games647 Date: Fri, 19 May 2017 11:12:07 +0200 Subject: [PATCH] Fix color takes effect on the next line --- .../games647/colorconsole/bukkit/ColorPluginAppender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/github/games647/colorconsole/bukkit/ColorPluginAppender.java b/src/main/java/com/github/games647/colorconsole/bukkit/ColorPluginAppender.java index fe6eac2..02166ac 100644 --- a/src/main/java/com/github/games647/colorconsole/bukkit/ColorPluginAppender.java +++ b/src/main/java/com/github/games647/colorconsole/bukkit/ColorPluginAppender.java @@ -91,7 +91,7 @@ public class ColorPluginAppender extends AbstractAppender { pluginColor = format(pluginColor); } - return reset + '[' + pluginColor + pluginName + reset + ']' + levelColor + message.substring(endTag + 1); + return reset + '[' + pluginColor + pluginName + reset + ']' + levelColor + message.substring(endTag + 1) + reset; } private String format(String pluginFormat) {