Fixed colors appearing in server logs

This commit is contained in:
Anuken
2020-11-22 17:33:10 -05:00
parent ad71007a0a
commit 335e7489ce
2 changed files with 13 additions and 0 deletions

View File

@@ -1008,6 +1008,10 @@ public class ServerControl implements ApplicationListener{
currentLogFile = null;
}
for(String value : values){
text = text.replace(value, "");
}
if(currentLogFile == null){
int i = 0;
while(logFolder.child("log-" + i + ".txt").length() >= maxLogLength){