mojira.dev
MC-169015

Nick color does not display when player leaves

Team nick color does display when player joins, but not when it leaves.

[media]

Code analysis

Mojang names:

net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(Component)

this.server.getPlayerList().broadcastMessage(new TranslatableComponent("multiplayer.player.left", this.player.getDisplayName()).withStyle(ChatFormatting.YELLOW));

Attachments

Comments 2

I cannot reproduce this issue in 1.17.1, so my guess is that this was fixed sometime in the past. I've attached some screenshots and videos to support this statement.

[media][media]

Going to resolve this as Cannot Reproduce due to the screenshot and video provided by @unknown.

It appears the code analysis I added to the report was also incorrect; the quoted code section actually looks fine (and is the same for joining the server).

BeetMacol

(Unassigned)

Confirmed

Low

UI

1.15.1

Retrieved