>wowhelm_
~/forever/addon-api/source/1.60.1.70755

Interface/AddOns/Blizzard_FrameXMLUtil/CollectionsUtil.lua

1.60.1.70755 compared with 1.60.1.70707 · 2026-11-03 · +3 −1· view file
@@ -109,11 +109,13 @@ function CollectionWardrobeUtil.GetSlotFromCategoryID(categoryID)
end
end
if not slot then
- local name, isWeapon, canEnchant, canMainHand, canOffHand = C_TransmogCollection.GetCategoryInfo(categoryID);
+ local name, isWeapon, canEnchant, canMainHand, canOffHand, canRanged = C_TransmogCollection.GetCategoryInfo(categoryID);
if canMainHand then
slot = "MAINHANDSLOT";
elseif canOffHand then
slot = "SECONDARYHANDSLOT";
+ elseif canRanged then
+ slot = "RANGEDSLOT";
end
end
return slot;