Scorpio

Scorpio

349k Downloads

[CataC] ADDON_ACTION_BLOCKED on resume()

Road-block opened this issue ยท 1 comments

commented
1x [ADDON_ACTION_BLOCKED] AddOn 'Scorpio' tried to call the protected function 'resume()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `resume'
[string "@Scorpio/Modules/Core.lua"]:342: in function <Scorpio/Modules/Core.lua:198>
[string "@Scorpio/Modules/Core.lua"]:432: in function <Scorpio/Modules/Core.lua:198>
[string "=(tail call)"]: ?

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

Reproduction steps.

  1. Created a custom flyout button (name and icon selected, macrotext left empty)
  2. Added 3 teleport tabards as flyout actions. Try it out of combat works as expected (keybind opens flyout, menu binds work as expected.
  3. Go try same while in combat. I did not expect the menu to work, you cannot swap tabard slot in combat, just wanted to test how the flyout behaves.

See error above.

commented

coroutine.resume is a Lua api, shouldn't be protected,. So if it only triggered once, skip it.

It'd be action you done in combat that not allowed cause it, but blz can't give the right places.

During combat, you can simply swap spells on bar that mapped to blz's bar. But for custom action buttons, you can drag a spell from one button to another, but place a spell on a button is forbidden, can only be done out of combat.