mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 09:44:45 +01:00
Core/Groups: Prevent group id pool corruption (BG groups take their Ids out of the same pool thus the need to register properly)
This commit is contained in:
@@ -1203,6 +1203,7 @@ void Battleground::AddOrSetPlayerToCorrectBgGroup(Player *player, uint32 team)
|
||||
group = new Group;
|
||||
SetBgRaid(team, group);
|
||||
group->Create(player);
|
||||
sObjectMgr->AddGroup(group);
|
||||
}
|
||||
else // raid already exist
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user