Talent Tree Tweaks | Dragonflight

Talent Tree Tweaks | Dragonflight

2M Downloads

Lua error

zeenk opened this issue ยท 2 comments

commented

You get this error if you try to open talents while in combat, I have set scale enabled so I could fit in another addon on the side, would go out of frame otherwise ๐Ÿ˜›
2024-09-06_02-02-41
2024-09-06_02-03-02

3x [ADDON_ACTION_BLOCKED] AddOn 'TalentTreeTweaks' tried to call the protected function 'PlayerSpellsFrame:SetScale()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetScale'
[string "@TalentTreeTweaks/modules/scaleTalentFrame.lua"]:99: in function `OnShow'
[string "@TalentTreeTweaks/modules/scaleTalentFrame.lua"]:93: in function <TalentTreeTweaks/modules/scaleTalentFrame.lua:93>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "=[C]"]: ?
[string "=[C]"]: in function `Show'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:493: in function `SetUIPanel'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:295: in function `ShowUIPanel'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:174: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:169>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Mainline/UIParentPanelManager.lua"]:888: in function <...ParentPanelManager/Mainline/UIParentPanelManager.lua:866>
[string "=[C]"]: in function `ShowUIPanel'
[string "@Blizzard_FrameXMLUtil/Mainline/PlayerSpellsUtil.lua"]:130: in function `TogglePlayerSpellsFrame'
[string "@Blizzard_FrameXMLUtil/Mainline/PlayerSpellsUtil.lua"]:152: in function `ToggleClassTalentOrSpecFrame'
[string "TOGGLETALENTS"]:1: in function <[string "TOGGLETALENTS"]:1>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
commented

Ah yeah, the frame is protected nowadays
I'll fix it ^^

commented

fixed in latest release