Entities/Creature: Some asserts are now LOG_ERRORs that block spawning. Fix a group spawning bug exposed by the CoS merge. Improve some command output.
Port From (https://github.com/TrinityCore/TrinityCore/commit/2225cb120100da741814dec7515b191cc68f07be)
This commit is contained in:
@@ -2708,9 +2708,9 @@ namespace Game.Maps
|
||||
}
|
||||
|
||||
long respawnTime = GetRespawnTime(data.type, data.spawnId);
|
||||
if (respawnTime != 0 && respawnTime > GameTime.GetGameTime())
|
||||
if (respawnTime != 0)
|
||||
{
|
||||
if (!force && !ignoreRespawn)
|
||||
if (!force && !ignoreRespawn && respawnTime > GameTime.GetGameTime())
|
||||
continue;
|
||||
|
||||
// we need to remove the respawn time, otherwise we'd end up double spawning
|
||||
|
||||
Reference in New Issue
Block a user