Use neutral color to display potentially colored names - fixes #1170 (#1210)

This commit is contained in:
Max Lee 2018-09-10 17:41:14 +02:00 committed by Luck
parent 54a9ff9256
commit 3c773e6823

View File

@ -94,7 +94,7 @@ public class Group extends PermissionHolder implements Identifiable<String> {
@Override
public String getFriendlyName() {
Optional<String> dn = getDisplayName();
return dn.map(s -> this.name + " (" + s + ")").orElse(this.name);
return dn.map(s -> this.name + " &r(" + s + "&r)").orElse(this.name);
}
public Optional<String> getDisplayName() {