Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
elements/leader.lua lua error with WoW5. #143
Hey haste, you forgot to add a condition in the update function of leader.lua for isLeader. You need to add a "not WoW5" condition in front of UnitIsPartyLeader(unit) else, on MoP, if the unit is not the leader, it try to execute UnitIsPartyLeader() which doesnt exist anymore in 5.0.
There is an issue as well with eclipsebar.lua. If the druid doesnt have any spec at all, it try to execute GetPrimaryTalentTree() which doesnt exist on 5.0. So a "not WoW5" condition is required here as well.
I didnt want to create another issue just for this so I just updated this one.