Core: INFO->DEBUG level changes - forgot one in Map.cpp
(cherry picked from commit ad7b33a47f5b987fb41921c8ae57022bb93fce3a)
This commit is contained in:
@@ -2884,7 +2884,7 @@ bool InstanceMap::CanEnter(Player* player)
|
|||||||
uint32 maxPlayers = GetMaxPlayers();
|
uint32 maxPlayers = GetMaxPlayers();
|
||||||
if (GetPlayersCountExceptGMs() >= maxPlayers)
|
if (GetPlayersCountExceptGMs() >= maxPlayers)
|
||||||
{
|
{
|
||||||
TC_LOG_INFO("maps", "MAP: Instance '%u' of map '%s' cannot have more than '%u' players. Player '%s' rejected", GetInstanceId(), GetMapName(), maxPlayers, player->GetName().c_str());
|
TC_LOG_WARN("maps", "MAP: Instance '%u' of map '%s' cannot have more than '%u' players. Player '%s' rejected", GetInstanceId(), GetMapName(), maxPlayers, player->GetName().c_str());
|
||||||
player->SendTransferAborted(GetId(), TRANSFER_ABORT_MAX_PLAYERS);
|
player->SendTransferAborted(GetId(), TRANSFER_ABORT_MAX_PLAYERS);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user