nameplates: only iterate over existing debuffs

This commit is contained in:
shagu
2017-07-29 19:41:00 +02:00
parent 3da42e971c
commit b6ea293b1b
+1 -1
View File
@@ -453,7 +453,7 @@ pfUI:RegisterModule("nameplates", function ()
end
-- update debuffs
if this.debuffs and C.nameplates["showdebuffs"] == "1" then
if this.debuffs and pfUI.nameplates.debuffs and C.nameplates["showdebuffs"] == "1" then
if UnitExists("target") and healthbar:GetAlpha() == 1 then
local j = 1
local k = 1