Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register Event Error #217

Open
Carbon8Jim opened this issue May 20, 2021 · 1 comment
Open

Register Event Error #217

Carbon8Jim opened this issue May 20, 2021 · 1 comment

Comments

@Carbon8Jim
Copy link

When trying to register the event PARTY_MEMBERS_CHANGED

to fix this, i updated in addon.lua
Line 91: Prat.IsClassic = (_G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC) or (WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC)

playernames.lua
Line 1131:
if not Prat.IsClassic then
self:RegisterEvent("PARTY_MEMBERS_CHANGED", "updateParty")
end

@meflakcannon
Copy link

The PARTY_MEMBERS_CHANGED event has been removed with TBC Prepatch. The alternative calls GROUP_ROSTER_UPDATE and GROUP_JOINED GROUP_LEFT are already registered (hence why Prat continues to work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants