From: Perttu Ahola Date: Tue, 10 Apr 2012 15:16:03 +0000 (+0300) Subject: Fix unhandled InvalidPositionException X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=1eac6ff8ff1bde7d4cceb80147ad2347b871c18d;p=zefram%2Fminetest%2Fminetest_engine.git Fix unhandled InvalidPositionException --- diff --git a/src/server.cpp b/src/server.cpp index 389f6282..b0a0fb6f 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);