Fix spell cooldown bars in 11.x

GetSpellCooldown used to return 1 for "has duration", but the new native version returns true. Fun.

Additionally, it looks like the events triggering UpdateCustomBarEvent() are passing a nil argument that the mod thought was supposed to be the affected unit. So I also fixed that, though I don't know if that's an 11.x thing or not.

https://www.wowace.com/projects/ice-hud/issues/363
This commit is contained in:
Parnic
2024-07-27 15:42:31 -05:00
parent 6c1c68a0c3
commit 66f4492fa7
3 changed files with 11 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# Changelog
v1.15.3:
- Fix custom cooldown bars not working in 11.x (wowace issue #363)
v1.15.2:
- Re-enable right-click context menus on 11.x.