mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40: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()
|
local form = GetShapeshiftFormID()
|
||||||
|
|
||||||
if form == MOONKIN_FORM or not form then
|
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)
|
self:Show(true)
|
||||||
else
|
else
|
||||||
self:Show(false)
|
self:Show(false)
|
||||||
|
Reference in New Issue
Block a user