Quantcast

yeah, inspect too

Darthpred [03-05-15 - 22:32]
yeah, inspect too
Filename
ElvUI_SLE/modules/characterframe/inspectframe.lua
diff --git a/ElvUI_SLE/modules/characterframe/inspectframe.lua b/ElvUI_SLE/modules/characterframe/inspectframe.lua
index 8d2275e..33fcbbe 100644
--- a/ElvUI_SLE/modules/characterframe/inspectframe.lua
+++ b/ElvUI_SLE/modules/characterframe/inspectframe.lua
@@ -1898,9 +1898,11 @@ function IA:InspectFrame_DataSetting(DataTable)
 						end
 						]]
 						if not IsEnchanted and C.EnchantableSlots[SlotName] then
-							ErrorDetected = true
-							Slot.EnchantWarning:Show()
-							Slot.Gradation.ItemEnchant:SetText('|cffff0000'..L['Not Enchanted'])
+							if IType == "INVTYPE_WEAPON" or IType == "INVTYPE_RANGEDRIGHT" then
+								ErrorDetected = true
+								Slot.EnchantWarning:Show()
+								Slot.ItemEnchant:SetText('|cffff0000'..L['Not Enchanted'])
+							end
 						end

 						if GemCount_Enable > GemCount_Now or GemCount_Enable > GemCount or GemCount_Now > GemCount then