From bf22dba687a349dfdf22f6341b217987b10d05c6 Mon Sep 17 00:00:00 2001 From: Perttu Ahola <celeron55@gmail.com> Date: Thu, 2 Jun 2011 20:09:30 +0300 Subject: [PATCH] removed a debug print that would flood a lot in some kind of a timeout --- src/server.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 96fcc0d07..2a1246496 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1376,8 +1376,10 @@ void Server::AsyncRunStep() Player *player = m_env.getPlayer(client->peer_id); if(player==NULL) { - dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client "<<client->peer_id - <<" has no associated player"<<std::endl; + // This can happen if the client timeouts somehow + /*dstream<<"WARNING: "<<__FUNCTION_NAME<<": Client " + <<client->peer_id + <<" has no associated player"<<std::endl;*/ continue; } v3s16 pos = floatToInt(player->getPosition(), BS); -- GitLab