From 7221e78290c2ee0b7458a7486444814a2d7491fe Mon Sep 17 00:00:00 2001 From: Parnic Date: Sat, 28 May 2016 11:06:51 -0500 Subject: [PATCH] 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. --- modules/HarmonyPower.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/HarmonyPower.lua b/modules/HarmonyPower.lua index 1a1e75a..54538e7 100644 --- a/modules/HarmonyPower.lua +++ b/modules/HarmonyPower.lua @@ -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)