fix(Core/Map): remove ABORT() to prevent crash (#7904)

This commit is contained in:
Francesco Borzì 2021-09-20 16:15:54 +02:00 committed by GitHub
parent b622f123c4
commit db6635ab7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2813,7 +2813,7 @@ Map::EnterState InstanceMap::CannotEnter(Player* player, bool loginCheck)
{
LOG_ERROR("maps", "InstanceMap::CanEnter - player %s (%s) already in map %d, %d, %d!",
player->GetName().c_str(), player->GetGUID().ToString().c_str(), GetId(), GetInstanceId(), GetSpawnMode());
ABORT();
return CANNOT_ENTER_ALREADY_IN_MAP;
}