Skip to content

Commit

Permalink
Only retail has cosmetic items?
Browse files Browse the repository at this point in the history
Fixes #187
  • Loading branch information
p3lim committed Sep 26, 2024
1 parent 6e07998 commit ddd2c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function addon:IsDisenchantable(itemID)
elseif C_Item.GetItemInventoryTypeByID(itemID) == Enum.InventoryType.IndexBodyType then
-- shirts can't be disenchanted
return
elseif C_Item.IsCosmeticItem(itemID) then
elseif addon:IsRetail() and C_Item.IsCosmeticItem(itemID) then
-- cosmetic items can't be disenchanted
return
end
Expand Down

0 comments on commit ddd2c77

Please sign in to comment.