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)
|
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)
|
if (m_spawnId)
|
||||||
{
|
{
|
||||||
GetMap()->RemoveCreatureRespawnTime(m_spawnId);
|
GetMap()->RemoveCreatureRespawnTime(m_spawnId);
|
||||||
|
|||||||
Reference in New Issue
Block a user