From 32d5ad11089ab257d74d744b37e4f1ea8a9c88f0 Mon Sep 17 00:00:00 2001 From: Anon Date: Sat, 4 Apr 2026 22:25:40 +0200 Subject: [PATCH] Added text parsing in the tab player list --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 5dc9203f..3a745738 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -2189,7 +2189,7 @@ namespace MinecraftClient.Protocol.Handlers string? displayName = null; if (dataTypes.ReadNextBool(packetData)) // Has display name - displayName = dataTypes.ReadNextString(packetData); // Display name + displayName = ChatParser.ParseText(dataTypes.ReadNextString(packetData)); // Display name // 1.19 Additions long? keyExpiration = null; @@ -2230,7 +2230,7 @@ namespace MinecraftClient.Protocol.Handlers { var player = handler.GetPlayerInfo(uuid); if (player is not null) - player.DisplayName = dataTypes.ReadNextString(packetData); + player.DisplayName = ChatParser.ParseText(dataTypes.ReadNextString(packetData)); else dataTypes.SkipNextString(packetData); }