diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-04-10 18:16:03 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-04-10 18:16:03 +0300 |
commit | 1eac6ff8ff1bde7d4cceb80147ad2347b871c18d (patch) | |
tree | 83aeff93f80fd97ec458c94799cd3bd2ef98f5b8 | |
parent | 8742b3dab21a60ae78456d54212c18c764e6dc7f (diff) | |
download | minetest-1eac6ff8ff1bde7d4cceb80147ad2347b871c18d.tar.gz minetest-1eac6ff8ff1bde7d4cceb80147ad2347b871c18d.tar.bz2 minetest-1eac6ff8ff1bde7d4cceb80147ad2347b871c18d.zip |
Fix unhandled InvalidPositionException
-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 389f6282f..b0a0fb6fd 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3047,7 +3047,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) if(n.getContent() != CONTENT_IGNORE) scriptapi_node_on_dig(m_lua, p_under, n, playersao); - if (m_env->getMap().getNode(p_under).getContent() != CONTENT_AIR) + if (m_env->getMap().getNodeNoEx(p_under).getContent() != CONTENT_AIR) { // Re-send block to revert change on client-side RemoteClient *client = getClient(peer_id); |