Quantcast

This probably is wrong

Darthpred [07-20-16 - 06:46]
This probably is wrong
Filename
ElvUI_SLE/modules/nameplates.lua
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