forked from Mirrorlandia_minetest/minetest
removed a debug print that would flood a lot in some kind of a timeout
This commit is contained in:
parent
1b8cff8fbf
commit
bf22dba687
@ -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…
Reference in New Issue
Block a user