Remove display name cleansing in direct tablist handling

This commit is contained in:
Lixfel
2025-04-02 19:05:27 +02:00
parent c9a1528dfe
commit 764dec99f4
@@ -185,7 +185,6 @@ public class Tablist extends ChannelInboundHandlerAdapter {
if(msg instanceof UpsertPlayerInfoPacket packet) {
packet.getActions().remove(UpsertPlayerInfoPacket.Action.INITIALIZE_CHAT);
packet.getActions().remove(UpsertPlayerInfoPacket.Action.UPDATE_LATENCY);
packet.getActions().remove(UpsertPlayerInfoPacket.Action.UPDATE_DISPLAY_NAME);
packet.getActions().remove(UpsertPlayerInfoPacket.Action.UPDATE_LISTED);
if(packet.getActions().isEmpty()) {
ReferenceCountUtil.release(msg);