fix(Core/Map): remove ABORT() to prevent crash (#7904)
This commit is contained in:
@@ -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!",
|
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());
|
player->GetName().c_str(), player->GetGUID().ToString().c_str(), GetId(), GetInstanceId(), GetSpawnMode());
|
||||||
ABORT();
|
|
||||||
return CANNOT_ENTER_ALREADY_IN_MAP;
|
return CANNOT_ENTER_ALREADY_IN_MAP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user