diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-25 15:38:18 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:51 +0200 |
commit | 6a8f9135de448d805457e0b1f561c711d760565e (patch) | |
tree | 784ba14cc7cc6f759d76480b154b685a413d5207 /src/server.cpp | |
parent | 704d8a62bf4c52c5ac0d9a85b0b902ea833a7e90 (diff) | |
download | minetest-6a8f9135de448d805457e0b1f561c711d760565e.tar.gz minetest-6a8f9135de448d805457e0b1f561c711d760565e.tar.bz2 minetest-6a8f9135de448d805457e0b1f561c711d760565e.zip |
Store metadata as metadata name in node definition
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index cd67bc749..100497b61 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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); |