ActionbarPlus

ActionbarPlus

78.7k Downloads

Fix Retail PTR GameTooltip Bugs ~ 10.0.2

nfet opened this issue ยท 0 comments

commented

There are GameTooltip changes causing things to break.

GameTooltip:HookScript

  • GameTooltip:HookScript("OnTooltipSetSpell", function(tooltip, ...) end)
  • GameTooltip:HookScript("OnTooltipSetItem", function(tooltip, ...) end)

GameTooltip:HookScript("OnTooltipSetSpell", function(tooltip, ...)
if WMX:IsTypeMacro(tooltip:GetOwner()) then return end
WMX:SetupTooltipKeybindingInfo(tooltip)
end)
GameTooltip:HookScript("OnTooltipSetItem", function(tooltip, ...)
if WMX:IsTypeMacro(tooltip:GetOwner()) then return end
WMX:SetupTooltipKeybindingInfo(tooltip)
end)

GameTooltip:AddSpellByID(spellInfo.id)

Message: ...ore/AddonLib/Widget/Buttons/SpellAttributeSetter.lua:80: attempt to call method 'AddSpellByID' (a nil value)
Time: Thu Nov 10 14:11:05 2022
Count: 1
Stack: ...ore/AddonLib/Widget/Buttons/SpellAttributeSetter.lua:80: attempt to call method 'AddSpellByID' (a nil value)
[string "@Interface/AddOns/ActionbarPlus/Core/AddonLib/Widget/Buttons/SpellAttributeSetter.lua"]:80: in function `ShowTooltip'
[string "@Interface/AddOns/ActionbarPlus/Core/AddonLib/Widget/Buttons/BaseAttributeSetter.lua"]:67: in function <...Core/AddonLib/Widget/Buttons/BaseAttributeSetter.lua:58>
[string "=[C]"]: ?
[string "@Interface/AddOns/ActionbarPlus/Core/ExtLib/WoWAce/Ace3/AceGUI-3.0/AceGUI-3.0.lua"]:72: in function <...us/Core/ExtLib/WoWAce/Ace3/AceGUI-3.0/AceGUI-3.0.lua:70>
[string "@Interface/AddOns/ActionbarPlus/Core/ExtLib/WoWAce/Ace3/AceGUI-3.0/AceGUI-3.0.lua"]:306: in function `Fire'
[string "@Interface/AddOns/ActionbarPlus/Core/AddonLib/Widget/Buttons/ButtonUI.lua"]:195: in function <...ionbarPlus/Core/AddonLib/Widget/Buttons/ButtonUI.lua:192>

Locals: <none>