mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
removed a debug print that would flood a lot in some kind of a timeout
This commit is contained in:
parent
1b8cff8fbf
commit
bf22dba687
1 changed files with 4 additions and 2 deletions
|
@ -1376,8 +1376,10 @@ void Server::AsyncRunStep()
|
||||||
Player *player = m_env.getPlayer(client->peer_id);
|
Player *player = m_env.getPlayer(client->peer_id);
|
||||||
if(player==NULL)
|
if(player==NULL)
|
||||||
{
|
{
|
||||||
dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client "<<client->peer_id
|
// This can happen if the client timeouts somehow
|
||||||
<<" has no associated player"<<std::endl;
|
/*dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client "
|
||||||
|
<<client->peer_id
|
||||||
|
<<" has no associated player"<<std::endl;*/
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
v3s16 pos = floatToInt(player->getPosition(), BS);
|
v3s16 pos = floatToInt(player->getPosition(), BS);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue