From 099d1f19f4bc89d8ec751fae95f4fd00d2593a87 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Sun, 21 Jun 2015 00:53:38 +0400 Subject: [PATCH] Another safecheck --- .../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 54ab506..db649f5 100644 --- a/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua +++ b/ElvUI_SLE/modules/Armory/InspectArmory/InspectArmory.lua @@ -1959,7 +1959,7 @@ function IA:InspectFrame_DataSetting(DataTable) end ]] if E.db.sle.Armory.Inspect.NoticeMissing ~= false then - if not Slot.IsEnchanted and Info.Armory_Constants.EnchantableSlots[SlotName] then + if not Slot.IsEnchanted and Info.Armory_Constants.EnchantableSlots[SlotName] and Slot.ItemEnchant then if (SlotName == 'SecondaryHandSlot' and ItemType ~= 'INVTYPE_SHIELD' and ItemType ~= 'INVTYPE_HOLDABLE' and ItemType ~= 'INVTYPE_WEAPONOFFHAND' and ItemType ~= 'INVTYPE_RANGEDRIGHT') or SlotName ~= 'SecondaryHandSlot' then ErrorDetected = true Slot.EnchantWarning:Show() -- 1.7.9.5