Core/Battlegrounds: Replaced overriding m_team with more fine grained approach
Port From (https://github.com/TrinityCore/TrinityCore/commit/55587694053583b4cb85be38a47563a9fdf77271)
This commit is contained in:
@@ -73,7 +73,7 @@ namespace Scripts.World.Achievements
|
||||
{
|
||||
Battleground bg = source.GetBattleground();
|
||||
if (bg)
|
||||
return bg.IsAllNodesControlledByTeam(source.GetTeam());
|
||||
return bg.IsAllNodesControlledByTeam(bg.GetPlayerTeam(source.GetGUID()));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user