Continue replacement of WowVer checks

This commit is contained in:
Parnic
2022-09-18 17:50:37 -05:00
parent 5bc1f04504
commit 41ae17ba9a
8 changed files with 18 additions and 19 deletions

View File

@ -68,7 +68,7 @@ function PlayerHealth.prototype:Enable(core)
PlayerHealth.super.prototype.Enable(self, core)
self:RegisterEvent("UNIT_HEALTH", "UpdateEvent")
if IceHUD.WowVer < 90000 then
if IceHUD.EventExistsUnitHealthFrequent then
self:RegisterEvent("UNIT_HEALTH_FREQUENT", "UpdateEvent")
end
self:RegisterEvent("UNIT_MAXHEALTH", "UpdateEvent")