Core/Maps: Fix crash caused by setActive(false) called after DespawnOrUnsummon()
Port From (https://github.com/TrinityCore/TrinityCore/commit/dd825c56148ed9530e4a314bc91f29ddc86b7122)
This commit is contained in:
@@ -912,7 +912,7 @@ namespace Game.Entities
|
||||
|
||||
m_isActive = on;
|
||||
|
||||
if (!IsInWorld)
|
||||
if (on && !IsInWorld)
|
||||
return;
|
||||
|
||||
Map map = GetMap();
|
||||
|
||||
Reference in New Issue
Block a user