From cb84fa9fc6bbb7032fdc0e5d99cfdf58c8369f2f Mon Sep 17 00:00:00 2001 From: Peechey <92683202+Peechey@users.noreply.github.com> Date: Sat, 15 Nov 2025 23:00:11 -0600 Subject: [PATCH] fix Ring 3 compare showing when not applicable --- src/Classes/ItemsTab.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Classes/ItemsTab.lua b/src/Classes/ItemsTab.lua index 1c9500bef5..6018c27ce7 100644 --- a/src/Classes/ItemsTab.lua +++ b/src/Classes/ItemsTab.lua @@ -3899,7 +3899,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode) -- Build sorted list of slots to compare with local compareSlots = { } for slotName, slot in pairs(self.slots) do - if self:IsItemValidForSlot(item, slotName) and not slot.inactive and (not slot.weaponSet or slot.weaponSet == (self.activeItemSet.useSecondWeaponSet and 2 or 1)) then + if self:IsItemValidForSlot(item, slotName) and not slot.inactive and (not slot.weaponSet or slot.weaponSet == (self.activeItemSet.useSecondWeaponSet and 2 or 1)) and slot.shown() then t_insert(compareSlots, slot) end end