nameplates: cache own debuff on plate if enabled

This commit is contained in:
shagu
2025-05-25 18:23:47 +02:00
parent 91ba6a22fe
commit ab2a1330fb
+1 -1
View File
@@ -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