mirror of
https://github.com/games647/ColorConsole.git
synced 2024-11-23 19:05:19 +01:00
Fix color takes effect on the next line
This commit is contained in:
parent
e990efc1b1
commit
a3a7442174
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user