mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-15 22:30:13 -05:00
- Fixed another WoW 5.0 problem: GetPrimaryTalentTree() -> GetSpecialization() in the Eclipse module.
This commit is contained in:
@ -118,7 +118,13 @@ function EclipseBar.prototype:UpdateShown()
|
||||
local form = GetShapeshiftFormID()
|
||||
|
||||
if form == MOONKIN_FORM or not form then
|
||||
if GetPrimaryTalentTree() == 1 then
|
||||
local PrimaryTalentTree = 0
|
||||
if IceHUD.WowVer >= 50000 then
|
||||
PrimaryTalentTree = GetSpecialization()
|
||||
else
|
||||
PrimaryTalentTree = GetPrimaryTalentTree()
|
||||
end
|
||||
if PrimaryTalentTree == 1 then
|
||||
self:Show(true)
|
||||
else
|
||||
self:Show(false)
|
||||
|
Reference in New Issue
Block a user