Core: INFO->DEBUG level changes - forgot one in Map.cpp

(cherry picked from commit ad7b33a47f5b987fb41921c8ae57022bb93fce3a)
This commit is contained in:
click
2015-03-18 00:33:40 +00:00
committed by Nayd
parent 49f4ffc2c8
commit b0ee48370d
+1 -1
View File
@@ -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;
} }