TODO: Player health points\r
- When player dies, throw items on map\r
\r
+FIXME: If something is removed from craftresult with a right click,\r
+ it is only possible to get one item from it should give 4\r
+\r
Objects:\r
--------\r
\r
p.Y = stoi(fn.next(","));
p.Z = stoi(fn.next(","));
assert(c->current_player);
- RemoteClient *client = getClient(c->current_player->peer_id);
v3s16 blockpos = getNodeBlockPos(p);
- client->SetBlockNotSent(blockpos);
+
+ /*RemoteClient *client = getClient(c->current_player->peer_id);
+ client->SetBlockNotSent(blockpos);*/
+
+ for(core::map<u16, RemoteClient*>::Iterator
+ i = m_clients.getIterator();
+ i.atEnd()==false; i++)
+ {
+ RemoteClient *client = i.getNode()->getValue();
+ client->SetBlockNotSent(blockpos);
+ }
+
return;
}