mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
fix(Core/Creature): Fix Wintergrasp mobs not respawning (#25583)
This commit is contained in:
@@ -2054,10 +2054,6 @@ void Creature::Respawn(bool force)
|
||||
|
||||
if (getDeathState() == DeathState::Dead)
|
||||
{
|
||||
// TempSummons (no m_spawnId) shouldn't be resurrected here; TempSummon::Update UnSummons them on the next tick once deathState is Dead.
|
||||
if (!m_spawnId && !force)
|
||||
return;
|
||||
|
||||
if (m_spawnId)
|
||||
{
|
||||
GetMap()->RemoveCreatureRespawnTime(m_spawnId);
|
||||
|
||||
Reference in New Issue
Block a user