mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -05:00
Fix FocusMana event registration on Classic builds
Thanks to Lethay's comments on WowAce.
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
v1.13.9:
|
||||||
|
|
||||||
|
- Fixed FocusMana modules attempting to register invalid events in Classic builds.
|
||||||
|
|
||||||
v1.13.8.1:
|
v1.13.8.1:
|
||||||
|
|
||||||
- Updated TOC for BC-Classic and Classic.
|
- Updated TOC for BC-Classic and Classic.
|
||||||
|
@ -39,9 +39,9 @@ end
|
|||||||
function FocusMana.prototype:Enable(core)
|
function FocusMana.prototype:Enable(core)
|
||||||
FocusMana.super.prototype.Enable(self, core)
|
FocusMana.super.prototype.Enable(self, core)
|
||||||
|
|
||||||
if IceHUD.WowVer >= 40000 then
|
if not IceHUD.PerPowerEventsExist then
|
||||||
self:RegisterEvent(IceHUD.UnitPowerEvent, "UpdateEvent")
|
self:RegisterEvent(IceHUD.UnitPowerEvent, "UpdateEvent")
|
||||||
if IceHUD.WowVer < 80000 then
|
if IceHUD.EventExistsUnitMaxPower then
|
||||||
self:RegisterEvent("UNIT_MAXPOWER", "UpdateEvent")
|
self:RegisterEvent("UNIT_MAXPOWER", "UpdateEvent")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
v1.13.8.1:
|
vNext:
|
||||||
|
|
||||||
- Fixed Paladin GCD not functioning in BC-Classic.
|
- Fixed FocusMana modules attempting to register invalid events in Classic builds.
|
||||||
- Updated TOC for BC-Classic and Classic.
|
|
||||||
|
Reference in New Issue
Block a user