diff --git a/addon/addon.lua b/addon/addon.lua index 7528836..f1af653 100644 --- a/addon/addon.lua +++ b/addon/addon.lua @@ -88,7 +88,7 @@ setmetatable(Prat, am) Prat.Prat3 = true -Prat.IsClassic = (_G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC) +Prat.IsClassic = (_G.WOW_PROJECT_ID == _G.WOW_PROJECT_CLASSIC) or (_G.WOW_PROJECT_ID == _G.WOW_PROJECT_BURNING_CRUSADE_CLASSIC) Prat.IsRetail = (_G.WOW_PROJECT_ID == _G.WOW_PROJECT_MAINLINE) @@ -815,4 +815,4 @@ RegisterChatCommand("pratdebugmsg", local cc = addon:GetModule("CopyChat", true) if cc then cc:ScrapeFullChatFrame(printFrame or _G.DEFAULT_CHAT_FRAME, true) end - end) \ No newline at end of file + end) diff --git a/modules/PlayerNames.lua b/modules/PlayerNames.lua index 4bacef1..856122f 100644 --- a/modules/PlayerNames.lua +++ b/modules/PlayerNames.lua @@ -436,10 +436,7 @@ Prat:AddModuleToLoad(function() self:RegisterEvent("GUILD_ROSTER_UPDATE", "updateGuild") self:RegisterEvent("RAID_ROSTER_UPDATE", "updateRaid") self:RegisterEvent("PLAYER_LEVEL_UP", "updatePlayerLevel") - - if select(4, GetBuildInfo()) < 80000 and select(4, GetBuildInfo()) >= 20000 then - self:RegisterEvent("PARTY_MEMBERS_CHANGED", "updateParty") - end + self:RegisterEvent("GROUP_ROSTER_UPDATE", "updateParty") self:RegisterEvent("PLAYER_TARGET_CHANGED", "updateTarget") self:RegisterEvent("UPDATE_MOUSEOVER_UNIT", "updateMouseOver") self:RegisterEvent("WHO_LIST_UPDATE", "updateWho")