Quantcast

Cause Mera finds some bullshit :P

Darth Predator [09-01-17 - 11:52]
Cause Mera finds some bullshit :P
Filename
ElvUI_SLE/modules/nameplates.lua
diff --git a/ElvUI_SLE/modules/nameplates.lua b/ElvUI_SLE/modules/nameplates.lua
index b9e3194..2ef53c8 100644
--- a/ElvUI_SLE/modules/nameplates.lua
+++ b/ElvUI_SLE/modules/nameplates.lua
@@ -122,6 +122,7 @@ end

 function N:NAME_PLATE_UNIT_REMOVED(event, unit, frame, ...)
 	local frame = frame or NP:GetNamePlateForUnit(unit);
+	if not frame.UnitFrame then return end
 	frame.UnitFrame.unit = nil
 	frame.UnitFrame.threatInfo:SetText("")
 	frame.UnitFrame.targetcount:SetText("")