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:
Parnic
2016-05-28 11:06:51 -05:00
parent 97d04c174a
commit 7221e78290

View File

@ -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)