From 635a492f674367f94a40e2f7b30a70f2c734fbbe Mon Sep 17 00:00:00 2001 From: totalllyswede Date: Sat, 14 Feb 2026 07:55:25 -0800 Subject: [PATCH] Add files via upload --- GearSetTooltips.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/GearSetTooltips.lua b/GearSetTooltips.lua index e4a4f80..d662a3f 100644 --- a/GearSetTooltips.lua +++ b/GearSetTooltips.lua @@ -603,7 +603,19 @@ function GearSetTooltips:RefreshSettingsFrame() if table.getn(outfits) > 0 then for _, outfit in ipairs(outfits) do if outfit.Name and outfit.Items then - table.insert(setList, {name = outfit.Name, addon = "Outfitter"}) + -- Check if the outfit actually has items + local hasItems = false + for slot, item in pairs(outfit.Items) do + if item.Code and tonumber(item.Code) and tonumber(item.Code) > 0 then + hasItems = true + break + end + end + + -- Only add to list if it has items + if hasItems then + table.insert(setList, {name = outfit.Name, addon = "Outfitter"}) + end end end end