1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00
This commit is contained in:
Perttu Ahola 2011-04-12 01:59:09 +03:00
parent 249c0dc68a
commit 08139f32f9
2 changed files with 5 additions and 0 deletions

View file

@ -1224,6 +1224,8 @@ void Server::AsyncRunStep()
//u16 peer_id = i.getNode()->getKey();
RemoteClient *client = i.getNode()->getValue();
Player *player = m_env.getPlayer(client->peer_id);
if(player==NULL)
continue;
std::cout<<player->getName()<<"\t";
client->PrintInfo(std::cout);
}