Skip to content

Instantly share code, notes, and snippets.

/test.lua Secret

Created July 30, 2016 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b43bb642ea4fd98ce4275c9b38e0a40d to your computer and use it in GitHub Desktop.
Save anonymous/b43bb642ea4fd98ce4275c9b38e0a40d to your computer and use it in GitHub Desktop.
attempt to stop spells pushed to the actionbar
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