From 37b409de5da076958d7696029a17ff950a5d4e97 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Thu, 11 Aug 2016 11:54:22 +0300 Subject: [PATCH] meh --- .../Armory/CharacterArmory/CharacterArmory.lua | 2 +- ElvUI_SLE/modules/Armory/Constants.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua index 128bf56..37b3b69 100644 --- a/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua +++ b/ElvUI_SLE/modules/Armory/CharacterArmory/CharacterArmory.lua @@ -678,7 +678,7 @@ function CA:Update_Gear() if E.db.sle.Armory.Character.NoticeMissing ~= false then if not Slot.IsEnchanted and Info.Armory_Constants.EnchantableSlots[SlotName] then - if SlotName ~= 'SecondaryHandSlot' then + if SlotName ~= 'SecondaryHandSlot' or (ItemType == "INVTYPE_WEAPONOFFHAND" or ItemType == "INVTYPE_WEAPON")then ErrorDetected = true Slot.EnchantWarning:Show() diff --git a/ElvUI_SLE/modules/Armory/Constants.lua b/ElvUI_SLE/modules/Armory/Constants.lua index a89d076..fb3d327 100644 --- a/ElvUI_SLE/modules/Armory/Constants.lua +++ b/ElvUI_SLE/modules/Armory/Constants.lua @@ -17,7 +17,7 @@ Info.Armory_Constants = { }, EnchantableSlots = { - NeckSlot = true, BackSlot = true, Finger0Slot = true, Finger1Slot = true + NeckSlot = true, BackSlot = true, Finger0Slot = true, Finger1Slot = true, MainHandSlot = true, SecondaryHandSlot = true, }, UpgradeColor = { -- 1.7.9.5