From 5378f0041223690e865ee336ace4c6b50e0f35b4 Mon Sep 17 00:00:00 2001 From: Darth Predator Date: Tue, 25 Apr 2017 05:06:18 +0300 Subject: [PATCH] Failsafe for inspect. Can't reproduce at all, mentioned in #465 --- .../modules/Armory/InspectArmory/InspectArmory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua index 844ece0..4367c91 100644 --- a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua +++ b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua @@ -2267,7 +2267,7 @@ function IA:InspectFrame_DataSetting(DataTable) for i = MajorTooltipStartLine, self.ScanTT:NumLines() do CurrentLineText = _G['InspectArmoryScanTTTextLeft'..i]:GetText() - if not CurrentLineText:find('"') then + if not CurrentLineText:find('"') and MinorArtifactSlot and MinorTooltipStartLine then self[MinorArtifactSlot].ReplaceTooltipLines[MinorTooltipStartLine] = CurrentLineText MinorTooltipStartLine = MinorTooltipStartLine + 1 -- 1.7.9.5