mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
changed node metadata format to better accomodate future needs and problems
This commit is contained in:
@@ -2743,8 +2743,9 @@ void Server::inventoryModified(InventoryContext *c, std::string id)
|
||||
assert(c->current_player);
|
||||
v3s16 blockpos = getNodeBlockPos(p);
|
||||
|
||||
/*RemoteClient *client = getClient(c->current_player->peer_id);
|
||||
client->SetBlockNotSent(blockpos);*/
|
||||
NodeMetadata *meta = m_env.getMap().getNodeMetadata(p);
|
||||
if(meta)
|
||||
meta->inventoryModified();
|
||||
|
||||
for(core::map<u16, RemoteClient*>::Iterator
|
||||
i = m_clients.getIterator();
|
||||
|
Reference in New Issue
Block a user