Skip to content

Commit

Permalink
Fixed non-equipment items acting as equipment after 10.2.6 WoW patch. (
Browse files Browse the repository at this point in the history
  • Loading branch information
Pegoth authored Apr 12, 2024
1 parent 8d85fa2 commit 185b705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/DefaultFilters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ function addon:SetupDefaultFilters()

local equipmentFilter = addon:RegisterFilter('Equipment', 60, function(self, slotData)
local equipSlot = slotData.equipSlot
if equipSlot and equipSlot ~= "" then
if equipSlot and equipSlot ~= "" and equipSlot ~= "INVTYPE_NON_EQUIP_IGNORE" then
local rule = self.db.profile.dispatchRule
local category
if rule == 'category' then
Expand Down
2 changes: 1 addition & 1 deletion modules/ItemLevel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function mod:UpdateButton_Retail(event, button)
level = item and item:GetCurrentItemLevel() or 0
if level >= settings.minLevel
and (quality ~= ITEM_QUALITY_POOR or not settings.ignoreJunk)
and (loc ~= "" or not settings.equippableOnly)
and (loc ~= "" and loc ~= "INVTYPE_NON_EQUIP_IGNORE" or not settings.equippableOnly)
and (quality ~= ITEM_QUALITY_HEIRLOOM or not settings.ignoreHeirloom)
and colorSchemes[settings.colorScheme] ~= nil
then
Expand Down

0 comments on commit 185b705

Please sign in to comment.