Open swallowsoul opened 1 month ago
Maybe a workaround (need more tests for sure):
diff --git "a/Components/Elements.lua" "b/Components/Elements.lua"
index 387a074..121fc87 100644
--- "a/Components/Elements.lua"
+++ "b/Components/Elements.lua"
@@ -46,6 +46,20 @@ local function GetItemButton(parentFrame, index, buttonType)
return rewardButtons[index]
end
+local function GetQuestCurrencyInfo(itemType, currencyIndex)
+ if C_QuestOffer then
+ if itemType == 'reward' then
+ local i = C_QuestOffer.GetQuestRewardCurrencyInfo(itemType, currencyIndex)
+ return i.name, i.texture, i.totalRewardAmount, i.quality
+ else
+ local i = C_QuestOffer.GetQuestRequiredCurrencyInfo(currencyIndex)
+ return i.name, i.texture, i.requiredAmount, i.quality
+ end
+ else
+ return _G.GetQuestCurrencyInfo(itemType, currencyIndex)
+ end
+end
+
local function UpdateItemInfo(self, showMissing)
assert(self.type)
assert(self:GetID())
Thanks for the code @neun0eil, I'll add it to the wrapper.
hey, I got this report from bugsack when trying to complete a quest in darkmoon faire, apparently if the quest requires things like archeology fragments or coins the UI bugs, and you can't turn on the quest.