mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour
This commit is contained in:
parent
ae93d4fb49
commit
9558f31ebb
@ -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 New Issue
Block a user