mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour
By: md_5 <git@md-5.net>
This commit is contained in:
parent
502373d73c
commit
11234326be
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
|||
|
||||
@Override
|
||||
public String getPlayerListName() {
|
||||
return getHandle().listName == null ? getName() : CraftChatMessage.fromComponent(getHandle().listName);
|
||||
return getHandle().listName == null ? getName() : CraftChatMessage.fromComponent(getHandle().listName, EnumChatFormat.WHITE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue