From cf69fd7e8cff21b06d926f0b59fbe947a7ab2e74 Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Fri, 7 Jun 2024 00:25:58 -0700 Subject: [PATCH] Modules/Bags: forgot to ignore bad appearance types --- ElvUI/Modules/Bags/Bags.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ElvUI/Modules/Bags/Bags.lua b/ElvUI/Modules/Bags/Bags.lua index 480dd93..975ce0d 100644 --- a/ElvUI/Modules/Bags/Bags.lua +++ b/ElvUI/Modules/Bags/Bags.lua @@ -73,7 +73,6 @@ local SEARCH_STRING = "" -- item types that will show they have a wardrobe unlock but cannot be unlocked local BAD_WARDROBE_SUBTYPES = { ["Thrown"] = true, - ["Fishing Poles"] = true, ["Miscellaneous"] = true, } @@ -390,7 +389,7 @@ function B:UpdateSlot(frame, bagID, slotID) slot.isUnlearnedVanity = VANITY_ITEMS[slot.id] and not C_VanityCollection.IsCollectionItemOwned(slot.id) and iType ~= "Consumable" if C_Appearance then local appearanceID = C_Appearance.GetItemAppearanceID(slot.id) - slot.isUnlearnedWardrobe = appearanceID and not C_AppearanceCollection.IsAppearanceCollected(appearanceID) + slot.isUnlearnedWardrobe = not (BAD_WARDROBE_SUBTYPES[iSubtype] and iType == "Weapon") and appearanceID and not C_AppearanceCollection.IsAppearanceCollected(appearanceID) else slot.isUnlearnedWardrobe = not (BAD_WARDROBE_SUBTYPES[iSubtype] and iType == "Weapon") and APPEARANCE_ITEM_INFO[slot.id] and not APPEARANCE_ITEM_INFO[slot.id]:GetCollectedID() end