fix(Core/Maps): Do not allow entering an instance if the player is (#21973)

Co-authored-by: Gildor <gildor55@gmail.com>
This commit is contained in:
Jelle Meeus
2025-04-24 00:59:32 +02:00
committed by GitHub
parent 7cae4f5a16
commit 38ff8bae28

View File

@@ -214,6 +214,7 @@ Map::EnterState MapMgr::PlayerCannotEnter(uint32 mapid, Player* player, bool log
else
{
LOG_DEBUG("maps", "Map::PlayerCannotEnter - player '{}' is dead but does not have a corpse!", player->GetName());
return Map::CANNOT_ENTER_CORPSE_IN_DIFFERENT_INSTANCE;
}
}