Skip to content

Commit

Permalink
[Core] Improve Detection When Spells Change
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Feb 17, 2024
1 parent 61f177e commit 9d12e83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,16 @@ function MaxDps:OnEnable()
self:RegisterEvent('ACTIONBAR_SLOT_CHANGED', 'ButtonFetch');
self:RegisterEvent('ACTIONBAR_HIDEGRID', 'ButtonFetch');
self:RegisterEvent('ACTIONBAR_PAGE_CHANGED', 'ButtonFetch');
self:RegisterEvent('ACTIONBAR_UPDATE_STATE', 'ButtonFetch');
self:RegisterEvent('UPDATE_BONUS_ACTIONBAR', 'ButtonFetch');
self:RegisterEvent('LEARNED_SPELL_IN_TAB', 'ButtonFetch');
self:RegisterEvent('CHARACTER_POINTS_CHANGED', 'ButtonFetch');
self:RegisterEvent('ACTIVE_TALENT_GROUP_CHANGED', 'ButtonFetch');
self:RegisterEvent('PLAYER_SPECIALIZATION_CHANGED', 'ButtonFetch');
self:RegisterEvent('UPDATE_MACROS', 'ButtonFetch');
self:RegisterEvent('VEHICLE_UPDATE', 'ButtonFetch');
self:RegisterEvent('UPDATE_STEALTH', 'ButtonFetch');
self:RegisterEvent('SPELLS_CHANGED', 'ButtonFetch');

self:RegisterEvent('UNIT_ENTERED_VEHICLE');
self:RegisterEvent('UNIT_EXITED_VEHICLE');
Expand Down

0 comments on commit 9d12e83

Please sign in to comment.