mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Fixed Death Runes never showing up on Live
UnitPowerMax for SPELL_POWER_RUNES is 0 on live, so numRunes was 0 which was causing UpdateRuneType to throw out the update.
This commit is contained in:
@ -208,7 +208,9 @@ end
|
||||
|
||||
-- OVERRIDE
|
||||
function Runes.prototype:Enable(core)
|
||||
self.numRunes = UnitPowerMax("player", SPELL_POWER_RUNES)
|
||||
if IceHUD.WowVer >= 70000 then
|
||||
self.numRunes = UnitPowerMax("player", SPELL_POWER_RUNES)
|
||||
end
|
||||
|
||||
Runes.super.prototype.Enable(self, core)
|
||||
|
||||
|
Reference in New Issue
Block a user