From 5554b28894f2855be501a69d6d174ca9a290d1ea Mon Sep 17 00:00:00 2001 From: Lixfel Date: Fri, 28 Jun 2024 23:35:53 +0200 Subject: [PATCH] Fix NPC packet Signed-off-by: Lixfel --- src/de/steamwar/velocitycore/tablist/Tablist.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/de/steamwar/velocitycore/tablist/Tablist.java b/src/de/steamwar/velocitycore/tablist/Tablist.java index 8438f116..61a62aa6 100644 --- a/src/de/steamwar/velocitycore/tablist/Tablist.java +++ b/src/de/steamwar/velocitycore/tablist/Tablist.java @@ -258,6 +258,7 @@ public class Tablist extends ChannelInboundHandlerAdapter { private void sendNpcPacket(List names, boolean remove) { if(!names.isEmpty()) { UpdateTeamsPacket packet = new UpdateTeamsPacket(); + packet.setName(TAB_TEAM); packet.setMode(remove ? UpdateTeamsPacket.Mode.REMOVE_PLAYER : UpdateTeamsPacket.Mode.ADD_PLAYER); packet.setPlayers(names); sendPacket(player, packet);