From 5429298b8a5682678eb960520d8b066c69fa0e3f Mon Sep 17 00:00:00 2001 From: Darthpred Date: Wed, 20 Jul 2016 09:46:17 +0300 Subject: [PATCH] This probably is wrong --- ElvUI_SLE/modules/nameplates.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/nameplates.lua b/ElvUI_SLE/modules/nameplates.lua index 6e4217a..bdc91dd 100644 --- a/ElvUI_SLE/modules/nameplates.lua +++ b/ElvUI_SLE/modules/nameplates.lua @@ -37,7 +37,7 @@ hooksecurefunc(NP, 'Update_ThreatList', function(self, myPlate) if myPlate.threatInfo then myPlate.threatInfo:SetText() - if N.db.showthreat and frame.UnitType == "ENEMY_NPC" then + if N.db.showthreat and myPlate.UnitType == "ENEMY_NPC" then local unit = myPlate.unit if not unit then for i=1, 4 do -- 1.7.9.5