mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
Fixed arguments resetting red in server errors
This commit is contained in:
parent
b2de197050
commit
f5cb6f2542
@ -79,6 +79,9 @@ public class ServerControl implements ApplicationListener{
|
||||
}
|
||||
|
||||
logger = (level1, text) -> {
|
||||
//err has red text instead of reset.
|
||||
if(level1 == LogLevel.err) text = text.replace(reset, lightRed + bold);
|
||||
|
||||
String result = bold + lightBlack + "[" + dateTime.format(LocalDateTime.now()) + "] " + reset + format(tags[level1.ordinal()] + " " + text + "&fr");
|
||||
System.out.println(result);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user