frozn / TipTac

WoW AddOn TipTac Reborn
GNU General Public License v3.0
118 stars 25 forks source link

Lua error on mouse over of pet action bar. #354

Closed Odaxis closed 1 month ago

Odaxis commented 1 month ago

Describe the bug

Getting this error on Classic Season on a hunter when ever i Mouse over one of my pets active abilities on the pet bar.

Message: bad argument #⁠1 to '?' (Usage: local mountID = C_MountJournal.GetMountFromSpell(spellID)) Time: Sun Sep 29 00:19:21 2024 Count: 24 Stack: bad argument #⁠1 to '?' (Usage: local mountID = C_MountJournal.GetMountFromSpell(spellID)) [string "@Interface/AddOns/TipTac/libs/LibFroznFunctions-1.0/LibFroznFunctions-1.0.lua"]:471: in function GetMountFromSpell' [string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:2697: in functionspell' [string "@Interface/AddOns/TipTacItemRef/ttItemRef.lua"]:834: in function <Interface/AddOns/TipTacItemRef/ttItemRef.lua:824> [string "=[C]"]: in function SetPetAction' [string "@Interface/AddOns/Blizzard_ActionBar/Classic/PetActionBarFrame.lua"]:423: in functionPetActionButton_OnEnter'

Locals: self =

{ hasWoWFlavor =
{ } TableRegistry =
{ } isWoWFlavor =
{ } } spellID = nil

Steps to Reproduce

Mouse over one of my pets active abilities on the pet bar.

Expected behavior

No response

Additional context

No response

Version of TipTac Reborn

TipTac 24.09.02

Flavor/Version of WoW

Wow 1.15.4

frozn commented 1 month ago

Thanks for reporting this! 👍

Fix will be included in the next release.