From 733b4b6b230823ea4892bc4f2fd3f02c86a4ebc9 Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 6 Mar 2015 02:28:44 +0400 Subject: [PATCH] Also fuck wands --- .../modules/characterframe/characterframe.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/characterframe/characterframe.lua b/ElvUI_SLE/modules/characterframe/characterframe.lua index 9beaf38..a231fd5 100644 --- a/ElvUI_SLE/modules/characterframe/characterframe.lua +++ b/ElvUI_SLE/modules/characterframe/characterframe.lua @@ -628,7 +628,7 @@ function CA:Update_Gear() if not IsEnchanted and C.EnchantableSlots[SlotName] then local id = GetInventoryItemID("player", Slot.ID) local IType = select(9, GetItemInfo(id)) - if IType == "INVTYPE_WEAPON" then + if IType == "INVTYPE_WEAPON" or IType == "INVTYPE_RANGEDRIGHT" then ErrorDetected = true Slot.EnchantWarning:Show() Slot.ItemEnchant:SetText('|cffff0000'..L['Not Enchanted']) -- 1.7.9.5