From: Perttu Ahola Date: Mon, 11 Apr 2011 22:59:09 +0000 (+0300) Subject: fixing X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=08139f32f99ad50fe6d5522feb21448a1a1aaae7;p=zefram%2Fminetest%2Fminetest_engine.git fixing --- diff --git a/doc/changelog.txt b/doc/changelog.txt index f8fa6b5d..c2e5b774 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -3,6 +3,9 @@ Minetest-c55 changelog This should contain all the major changes. For minor stuff, refer to the commit log of the repository. +2011-04-11: +- Fixed crafting a bit + 2011-04-10_0: - Asynchronous map generation - New object system diff --git a/src/server.cpp b/src/server.cpp index b08d568c..6a0c1304 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<getName()<<"\t"; client->PrintInfo(std::cout); }