1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00: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);