diff --git a/IceBarElement.lua b/IceBarElement.lua index c044e32..fb5fc4d 100644 --- a/IceBarElement.lua +++ b/IceBarElement.lua @@ -889,17 +889,11 @@ function IceBarElement.prototype:ConditionalSetupUpdate() end if not string.find(self.elementName, "MirrorBar") - and ((IceHUD.WowVer < 30000 or not GetCVarBool("predictedPower")) or (not string.find(self.elementName, "PlayerMana"))) - and self:ShouldRegisterOnUpdate() then + and ((IceHUD.WowVer < 30000 or not GetCVarBool("predictedPower")) or (not string.find(self.elementName, "PlayerMana"))) then IceHUD.IceCore:RequestUpdates(self, self.MyOnUpdateFunc) end end -function IceBarElement.prototype:ShouldRegisterOnUpdate() - return true -end - - -- Creates background for the bar function IceBarElement.prototype:CreateBackground() if not (self.frame) then diff --git a/modules/EclipseBar.lua b/modules/EclipseBar.lua index 5104074..8c86c23 100644 --- a/modules/EclipseBar.lua +++ b/modules/EclipseBar.lua @@ -101,10 +101,6 @@ function EclipseBar.prototype:CreateFrame() self:UpdateAlpha() end -function EclipseBar.prototype:ShouldRegisterOnUpdate() - return false -end - function EclipseBar.prototype:CreateSolarBar() if not (self.solarBar) then self.solarBar = CreateFrame("Frame", nil, self.frame)