Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed non-equipment items acting as equipment after 10.2.6 WoW patch. #1008

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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