Quantcast

Failsafe for inspect.

Darth Predator [04-25-17 - 02:06]
Failsafe for inspect.
Can't reproduce at all, mentioned in #465
Filename
ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua
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