From ab2a1330fbcb2bd0f7b3d87139a4f3ba7f26ef43 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 25 May 2025 18:23:47 +0200 Subject: [PATCH] nameplates: cache own debuff on plate if enabled --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 89a3b1b5..85665b49 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -196,7 +196,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () local effect, _, texture, stacks, _, duration, timeleft if unitstr and C.nameplates.selfdebuff == "1" then - effect, rank, texture, stacks, dtype, duration, timeleft = libdebuff:UnitOwnDebuff(unitstr, i) + effect, _, texture, stacks, _, duration, timeleft = libdebuff:UnitOwnDebuff(unitstr, id) else effect, _, texture, stacks, _, duration, timeleft = libdebuff:UnitDebuff(unitstr, id) end