-
-
Save anonymous/b43bb642ea4fd98ce4275c9b38e0a40d to your computer and use it in GitHub Desktop.
attempt to stop spells pushed to the actionbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local events = { | |
"ACTIONBAR_SLOT_CHANGED", | |
"ACTIVE_TALENT_GROUP_CHANGED", | |
"LEARNED_SPELL_IN_TAB", | |
"PLAYER_TALENT_UPDATE", | |
"SPELLS_CHANGED", | |
"SPELL_PUSHED_TO_ACTIONBAR", | |
} | |
for _, v in pairs(events) do | |
print("unregistered", v) | |
ActionBarActionEventsFrame:UnregisterEvent(v) | |
ActionBarButtonEventsFrame:UnregisterEvent(v) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment