Core/Maps: Fixed manual spawn groups being automatically spawned by conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/acf750cbff1242e50ab25c522511fa1e0a5a5b35)
This commit is contained in:
@@ -2419,7 +2419,7 @@ namespace Game.Maps
|
||||
foreach (uint spawnGroupId in spawnGroups)
|
||||
{
|
||||
SpawnGroupTemplateData spawnGroupTemplate = GetSpawnGroupData(spawnGroupId);
|
||||
if (spawnGroupTemplate.flags.HasAnyFlag(SpawnGroupFlags.System))
|
||||
if (spawnGroupTemplate.flags.HasAnyFlag(SpawnGroupFlags.System | SpawnGroupFlags.ManualSpawn))
|
||||
continue;
|
||||
|
||||
SetSpawnGroupActive(spawnGroupId, Global.ConditionMgr.IsMapMeetingNotGroupedConditions(ConditionSourceType.SpawnGroup, spawnGroupId, this));
|
||||
|
||||
Reference in New Issue
Block a user