From 95416474b861a81d41d351b540094f8071be7067 Mon Sep 17 00:00:00 2001 From: Zaazu Date: Mon, 21 Nov 2022 01:55:16 +0000 Subject: [PATCH] toc bump fixed tooltip errors --- Caravana.toc | 2 +- caravana.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Caravana.toc b/Caravana.toc index c5f5345..0b546e7 100644 --- a/Caravana.toc +++ b/Caravana.toc @@ -1,4 +1,4 @@ -## Interface: 90100 +## Interface: 100002 ## Title: Caravana ## Author: Beviselynt ## Notes: Reminds you the location of your Vulpera camp. diff --git a/caravana.lua b/caravana.lua index 2d90bdb..bdc4d17 100644 --- a/caravana.lua +++ b/caravana.lua @@ -59,7 +59,7 @@ for k, v in pairs(events) do f:RegisterEvent(k) end -GameTooltip:HookScript("OnTooltipSetSpell", function(self) +TooltipDataProcessor.AddTooltipPostCall(Enum.TooltipDataType.Spell, function(self) local _, SpellID = self:GetSpell() if SpellID == 312372 and db.place then self:AddLine(atlasCamp .. " " .. db.place, 0.94, 0.9, 0.55, true)