Quantcast

Apparently only itemLevel existing check was not enough, This fixes #276

Darthpred [08-16-16 - 06:10]
Apparently only itemLevel existing check was not enough, This fixes #276
Filename
ElvUI_SLE/modules/sledatatexts/itemlevel.lua
diff --git a/ElvUI_SLE/modules/sledatatexts/itemlevel.lua b/ElvUI_SLE/modules/sledatatexts/itemlevel.lua
index df96c13..8ef34fc 100644
--- a/ElvUI_SLE/modules/sledatatexts/itemlevel.lua
+++ b/ElvUI_SLE/modules/sledatatexts/itemlevel.lua
@@ -88,7 +88,7 @@ local function OnEnter(self)
 		end
 	end
 	for i = 1, #tooltipOrder do
-		DT.tooltip:AddDoubleLine(T.unpack(tooltipOrder[i]))
+		if tooltipOrder[i] then DT.tooltip:AddDoubleLine(T.unpack(tooltipOrder[i])) end
 	end
 	DT.tooltip:Show()
 end