Quantcast

Also fuck wands

Darthpred [03-05-15 - 22:28]
Also fuck wands
Filename
ElvUI_SLE/modules/characterframe/characterframe.lua
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'])