using Content.Shared.StatusIcon.Components;
using Content.Shared.Stealth.Components;
using Content.Shared.Whitelist;
+using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Shared.Configuration;
if (data.HideOnStealth && TryComp<StealthComponent>(ent, out var stealth) && stealth.Enabled)
return false;
+ if (TryComp<SpriteComponent>(ent, out var sprite) && !sprite.Visible)
+ return false;
+
if (data.ShowTo != null && !_entityWhitelist.IsValid(data.ShowTo, viewer))
return false;