From 34eb5f4f105358934455245013aa0316257b09e4 Mon Sep 17 00:00:00 2001 From: BloodDragon2580 Date: Sat, 19 Nov 2022 11:20:12 +0100 Subject: [PATCH] Update to v5.5 Fix Tooltip --- MythicPlusDrop/MythicPlusDrop.toc | 2 +- MythicPlusDrop/Tooltip.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MythicPlusDrop/MythicPlusDrop.toc b/MythicPlusDrop/MythicPlusDrop.toc index 4467b6f..dbe6944 100644 --- a/MythicPlusDrop/MythicPlusDrop.toc +++ b/MythicPlusDrop/MythicPlusDrop.toc @@ -1,6 +1,6 @@ ## Interface: 100002 ## Title: |cffd6266cMythicPlusDrop|r -## Version: 5.4 +## Version: 5.5 ## Author: BloodDragon2580 ## Notes: Info for Mythic Dungeons diff --git a/MythicPlusDrop/Tooltip.lua b/MythicPlusDrop/Tooltip.lua index fc4cc4c..168be2a 100644 --- a/MythicPlusDrop/Tooltip.lua +++ b/MythicPlusDrop/Tooltip.lua @@ -62,6 +62,6 @@ MythicPlusDropTooltip = {} function MythicPlusDropTooltip:Init() hooksecurefunc(ItemRefTooltip, 'SetHyperlink', DecorateTooltip) ItemRefTooltip:HookScript('OnTooltipSetItem', DecorateTooltip) - GameTooltip:HookScript('OnTooltipSetItem', DecorateTooltip) + TooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Item, DecorateTooltip) end