SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-10-05 19:33:33 +11:00
parent 502373d73c
commit 11234326be

View file

@ -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