mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- fixed the Eclipse bar not showing up since 1.7.2
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user