diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp index b08d568cc..6a0c13040 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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); } |