mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fixed error in Chi module
When signing in as a spec with Chi, an error was being thrown due to the graphical frames for chi not existing yet.
This commit is contained in:
@ -34,12 +34,11 @@ end
|
||||
|
||||
function HarmonyPower.prototype:Enable(core)
|
||||
self.numRunes = UnitPowerMax(self.unit, self.unitPower)
|
||||
self:CreateFrame()
|
||||
|
||||
HarmonyPower.super.prototype.Enable(self, core)
|
||||
|
||||
self:RegisterEvent("UNIT_POWER_FREQUENT", "UpdateRunePower")
|
||||
|
||||
self:Redraw()
|
||||
end
|
||||
|
||||
function HarmonyPower.prototype:UpdateRunePower(event, arg1, arg2)
|
||||
|
Reference in New Issue
Block a user