Permalink
Browse files

Fix unhandled InvalidPositionException

  • Loading branch information...
1 parent 8742b3d commit 1eac6ff8ff1bde7d4cceb80147ad2347b871c18d @celeron55 celeron55 committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server.cpp
View
2 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);

0 comments on commit 1eac6ff

Please sign in to comment.