From e813f32a7ec3ad1c7126183343e82bbaba562465 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 23 Feb 2025 09:07:46 +0100 Subject: [PATCH] nameplates: only show stun border if no target detected --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index d2bd3972..75651404 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -48,7 +48,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () color = combatstate.THREAT elseif C.nameplates.ccombatnothreat == "1" and UnitExists(target) then color = combatstate.NOTHREAT - elseif C.nameplates.ccombatstun == "1" and not UnitIsPlayer(guid) then + elseif C.nameplates.ccombatstun == "1" and not UnitExists(target) and not UnitIsPlayer(guid) then color = combatstate.STUN end end