From 1eac6ff8ff1bde7d4cceb80147ad2347b871c18d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 10 Apr 2012 18:16:03 +0300 Subject: [PATCH] Fix unhandled InvalidPositionException --- src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2