1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Store metadata as metadata name in node definition

This commit is contained in:
Perttu Ahola
2011-11-25 15:38:18 +02:00
parent 704d8a62bf
commit 6a8f9135de
6 changed files with 16 additions and 33 deletions

View File

@@ -3536,7 +3536,7 @@ void Server::inventoryModified(InventoryContext *c, std::string id)
if(meta)
meta->inventoryModified();
MapBlock *block = m_env.getMap().getBlockNoCreateNoEx(blockpos);
MapBlock *block = m_env->getMap().getBlockNoCreateNoEx(blockpos);
if(block)
block->raiseModified(MOD_STATE_WRITE_NEEDED);