Provisional patch for Retail 10.0.2
tflo opened this issue · 3 comments
Since the addon is not working with 10.0.2, here a provisional patch for version 2022.42.5:
Change line 49 in Tooltip.lua from:
GameTooltip:HookScript("OnTooltipSetItem", OnTooltipSetItem)
to
TooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Item, OnTooltipSetItem)
To get rid of errors from comparison tooltips (and probably some other), you can optionally add an early return immediately before line 25:
if not tooltip.GetItem then return end
I'm not very familiar with the new tooltip API, but this does the trick for me, until the addon gets updated. Only tested on WoW Retail.
– Tom
Hi, Tom.
Thank you for writing in! I will take a look at this over the next few days.
I really appreciate the code suggestions.