aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-25 15:38:18 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:51 +0200
commit6a8f9135de448d805457e0b1f561c711d760565e (patch)
tree784ba14cc7cc6f759d76480b154b685a413d5207 /src/server.cpp
parent704d8a62bf4c52c5ac0d9a85b0b902ea833a7e90 (diff)
downloadminetest-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.cpp2
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);