- replaced GetMasteryIndex with GetPrimaryTalentTree to work with the latest beta

This commit is contained in:
Parnic
2010-09-27 13:37:19 +00:00
parent 058ea24ba6
commit cd0f08837a

View File

@ -116,7 +116,7 @@ function EclipseBar.prototype:UpdateShown()
local form = GetShapeshiftFormID();
if form == MOONKIN_FORM or not form then
if GetMasteryIndex(GetActiveTalentGroup(false, false)) == 1 then
if GetPrimaryTalentTree() == 1 then
self:Show(true)
else
self:Show(false)