mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
fix(Core/Misc): fix some exploits (#2630)
This commit is contained in:
@@ -1012,7 +1012,7 @@ void WorldObject::setActive(bool on)
|
||||
|
||||
m_isActive = on;
|
||||
|
||||
if (!IsInWorld())
|
||||
if (on && !IsInWorld())
|
||||
return;
|
||||
|
||||
Map* map = FindMap();
|
||||
|
||||
Reference in New Issue
Block a user