/// <summary> Removes the given player from player's tab list (if their client supports it). </summary> public static void Remove(Player dst, Entity entity) { if (!dst.hasExtList) { return; } OnTabListEntryRemovedEvent.Call(entity, dst); byte id = dst == entity ? Entities.SelfID : entity.EntityID; dst.Send(Packet.ExtRemovePlayerName(id)); }
/// <summary> Removes the given player from player's tab list (if their client supports it). </summary> public static void Remove(Player dst, Entity entity) { if (!dst.hasExtList) { return; } OnTabListEntryRemovedEvent.Call(entity, dst); byte id = dst == entity ? Entities.SelfID : entity.EntityID; dst.Session.SendRemoveTabEntry(id); }