Skip to content

Commit 18f39b9

Browse files
authored
fix Ring 3 compare showing when not applicable (#9266)
1 parent 592a89c commit 18f39b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/ItemsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3899,7 +3899,7 @@ function ItemsTabClass:AddItemTooltip(tooltip, item, slot, dbMode)
38993899
-- Build sorted list of slots to compare with
39003900
local compareSlots = { }
39013901
for slotName, slot in pairs(self.slots) do
3902-
if self:IsItemValidForSlot(item, slotName) and not slot.inactive and (not slot.weaponSet or slot.weaponSet == (self.activeItemSet.useSecondWeaponSet and 2 or 1)) then
3902+
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
39033903
t_insert(compareSlots, slot)
39043904
end
39053905
end

0 commit comments

Comments
 (0)