Archiviert
1
0

Fix 1.20.2+ Tablist vanishing after server switch

Signed-off-by: Lixfel <git-5w3l@lixfel.de>
Dieser Commit ist enthalten in:
Lixfel 2024-07-05 10:19:18 +02:00
Ursprung d09f8edfa2
Commit 7224428345

Datei anzeigen

@ -138,6 +138,9 @@ public class Tablist extends ChannelInboundHandlerAdapter {
synchronized (directTabItems) { synchronized (directTabItems) {
directTabItems.clear(); directTabItems.clear();
} }
if(player.getProtocolVersion().greaterThan(ProtocolVersion.MINECRAFT_1_20))
current.clear();
} }
private void injection() { private void injection() {