Fix issue empties #2
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ScottIngram#1
if you drag an empty flyout (has no spells etc, but has only the single empty placeholder) to your action bar and click it (or log in and trigger an ENTER_WORLD event), then lua errors happen inside the WoW API code.
ERROR MSG:
Message: bad argument ScottIngram#1 to '?' (outside of expected range -2147483648 to 2147483647 - Usage: local cooldownSpellID = C_UnitAuras.GetCooldownAuraBySpellID(spellID))
Time: Sat Mar 18 21:27:42 2023
Count: 1
Stack: bad argument ScottIngram#1 to '?' (outside of expected range -2147483648 to 2147483647 - Usage: local cooldownSpellID = C_UnitAuras.GetCooldownAuraBySpellID(spellID))
[string "=[C]"]: in function GetCooldownAuraBySpellID' [string "@Interface/FrameXML/ActionButton.lua"]:569: in function ActionButton_UpdateCooldown'
[string "@Interface/FrameXML/SpellFlyout.lua"]:84: in function `SpellFlyoutButton_UpdateCooldown'
[string "@Interface/AddOns/FloFlyout/FloFlyout.lua"]:451: in function <Interface/AddOns/FloFlyout/FloFlyout.lua:430>