diff --git a/src/Classes/ImportTab.lua b/src/Classes/ImportTab.lua index 2dadf901..1737d260 100644 --- a/src/Classes/ImportTab.lua +++ b/src/Classes/ImportTab.lua @@ -1126,7 +1126,7 @@ function ImportTabClass:ImportSocketedItems(item, socketedItems, slotName) itemSocketGroupList[groupID] = { label = "", enabled = true, gemList = { }, slot = slotName } end local socketGroup = itemSocketGroupList[groupID] - if not socketedItem.support and socketGroup.gemList[1] and socketGroup.gemList[1].support and not item.title:match("Dialla's Malefaction") then + if not socketedItem.support and socketGroup.gemList[1] and socketGroup.gemList[1].support and not (item.title and item.title:match("Dialla's Malefaction")) then -- If the first gemInstance is a support gemInstance, put the first active gemInstance before it t_insert(socketGroup.gemList, 1, gemInstance) else diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index d1b08541..aa3f59b6 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -3607,7 +3607,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode) end if flavourTable then - if item.title:match("Grand Spectrum") then + if (item.title and item.title:match("Grand Spectrum")) then local selectedFlavourId = nil for _, lineEntry in ipairs(tooltip.lines or {}) do local lineText = lineEntry.text or "" diff --git a/src/Modules/CalcTriggers.lua b/src/Modules/CalcTriggers.lua index d54b74ce..81c3bc0e 100644 --- a/src/Modules/CalcTriggers.lua +++ b/src/Modules/CalcTriggers.lua @@ -693,7 +693,7 @@ local function defaultTriggerHandler(env, config) end if env.player.mainSkill.activeEffect.grantedEffect.name == "Doom Blast" and env.build.configTab.input["doomBlastSource"] == "vixen" then - if not env.player.itemList["Gloves"] or not env.player.itemList["Gloves"].title:match("Vixen's Entrapment") then + if not env.player.itemList["Gloves"] or not (env.player.itemList["Gloves"].title and env.player.itemList["Gloves"].title:match("Vixen's Entrapment")) then output.VixenModeNoVixenGlovesWarn = true end