Temp fix for error in 10.0

I need to find the new way to disable party frames, but this gets the addon loaded for now.
This commit is contained in:
Parnic
2022-10-25 21:15:16 -05:00
parent aa03a0b332
commit 52c9b51e8d

View File

@ -1430,9 +1430,11 @@ function PlayerHealth.prototype:HideBlizzardParty()
-- Both Pitbull 4 and Xperl use these exact code, so we use it too.
for i = 1, MAX_PARTY_MEMBERS do
local party = _G['PartyMemberFrame'..i]
party:UnregisterAllEvents()
party:Hide()
party.Show = function() end
if party then
party:UnregisterAllEvents()
party:Hide()
party.Show = function() end
end
end
UIParent:UnregisterEvent('RAID_ROSTER_UPDATE')