SPIGOT-2711: CraftPlayer.getPlayerListName removes black colour

This commit is contained in:
md_5 2016-10-05 19:33:33 +11:00
parent ae93d4fb49
commit 9558f31ebb

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