From f08a32aaa27a0b6b53266e631cada6b88d8179c7 Mon Sep 17 00:00:00 2001 From: IrcDirk Date: Tue, 10 Sep 2024 23:06:17 +0200 Subject: [PATCH] Fix UnitDebuff errors. --- NxMap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NxMap.lua b/NxMap.lua index 7471eeb..5e1dbc8 100644 --- a/NxMap.lua +++ b/NxMap.lua @@ -5630,7 +5630,7 @@ function Nx.Map:UpdateGroup (plX, plY) local inactive for n = 1, MAX_TARGET_DEBUFFS do - if UnitDebuff (unit, n) == "Inactive" then + if C_UnitAuras.GetBuffDataByIndex (unit, n) == "Inactive" then inactive = true per = 0 break