Apply color stripping to player names in console wherever applicable. (#6672)

* utility method

* plainName for all console outputs

* plainLastName for all console outputs

* some formats

* slightly reformat trace output

* Slightly nicer admin indicator

* A space
This commit is contained in:
TranquillyUnpleasant
2022-03-28 16:09:01 +02:00
committed by GitHub
parent 8ec2e40610
commit 580fcd1fbc
5 changed files with 36 additions and 28 deletions

View File

@@ -568,6 +568,10 @@ public class Administration{
public PlayerInfo(){
}
public String plainLastName(){
return Strings.stripColors(lastName);
}
}
/** Handles chat messages from players and changes their contents. */