mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- Fixed error on login on 4.3 servers as a Warlock. http://www.wowace.com/addons/ice-hud/tickets/147-shards-ui-error/
This commit is contained in:
@ -68,12 +68,14 @@ function ShardCounter.prototype:UpdatePowerType(event)
|
||||
self.numRunes = 3
|
||||
self.numConsideredFull = 99
|
||||
|
||||
if IceHUD.WowVer >= 50000 then
|
||||
if not IsPlayerSpell(WARLOCK_SOULBURN) then
|
||||
self.requiredSpec = -1
|
||||
self:RegisterEvent("SPELLS_CHANGED", "UpdatePowerType")
|
||||
else
|
||||
self:UnregisterEvent("SPELLS_CHANGED", "UpdatePowerType")
|
||||
end
|
||||
end
|
||||
elseif CurrentSpec == SPEC_WARLOCK_DESTRUCTION then
|
||||
self.runeCoords =
|
||||
{
|
||||
|
Reference in New Issue
Block a user