From aef0f2ca8c0aa37683eea3f30c9a5cd72456de38 Mon Sep 17 00:00:00 2001 From: Gabik21 Date: Thu, 5 Sep 2019 12:17:19 +0200 Subject: [PATCH] Fix name mapping not being cleared on switch This fixes a bug where tablist would be messed up for 1.7 clients due to an internal misconception. --- .../com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java b/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java index 31b494545..b1e5c2610 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/tablist/VelocityTabListLegacy.java @@ -52,6 +52,7 @@ public class VelocityTabListLegacy extends VelocityTabList { Collections.singletonList(PlayerListItem.Item.from(value)))); } entries.clear(); + nameMapping.clear(); } @Override