oUF

97.2k Downloads

elements/leader.lua lua error with WoW5.

tukz opened this issue ยท 5 comments

commented

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.

commented

All should be fixed with:
be68b10
e0d45ae
b6e00c0
56a56ab

commented

Same issue with leader TAG in tag.lua

commented

and leaderlong tag :P

commented

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.

commented

Same issue with assistant, make sure you check for not WoW5 if you include UnitIsPartyLeader()