master
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

@ -3,6 +3,9 @@ Minetest-c55 changelog
This should contain all the major changes. This should contain all the major changes.
For minor stuff, refer to the commit log of the repository. For minor stuff, refer to the commit log of the repository.
2011-04-11:
- Fixed crafting a bit
2011-04-10_0: 2011-04-10_0:
- Asynchronous map generation - Asynchronous map generation
- New object system - New object system

View File

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