From b6ea293b1b49a870f67f3a178292d1d727aa7505 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 29 Jul 2017 19:41:00 +0200 Subject: [PATCH] nameplates: only iterate over existing debuffs --- modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 5d2e8c1f..58812831 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -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