Skip to content

Commit

Permalink
Restore quest items functionality for WotLK (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meivyn authored Sep 7, 2022
1 parent 848a28b commit 5f3b4bc
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 @@ -200,7 +200,7 @@ function addon:SetupDefaultFilters()
if slotData.class == QUEST or slotData.subclass == QUEST then
return QUEST
else
if addon.isRetail then
if addon.isRetail or addon.isWrath then
local isQuestItem, questId = GetContainerItemQuestInfo(slotData.bag, slotData.slot)
return (questId or isQuestItem) and QUEST
else
Expand Down
2 changes: 1 addition & 1 deletion widgets/ItemButton.lua
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ if addon.isRetail then
end

local function GetBorder(bag, slot, itemId, settings)
if addon.isRetail then
if addon.isRetail or addon.isWrath then
if settings.questIndicator then
local isQuestItem, questId, isActive = GetContainerItemQuestInfo(bag, slot)
if questId and not isActive then
Expand Down

0 comments on commit 5f3b4bc

Please sign in to comment.