projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8742b3d
)
Fix unhandled InvalidPositionException
author
Perttu Ahola
<celeron55@gmail.com>
Tue, 10 Apr 2012 15:16:03 +0000
(18:16 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 10 Apr 2012 15:16:03 +0000
(18:16 +0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index 389f6282fcd28c7c778cc8e030865b4484fddfc0..b0a0fb6fdca3a01474bb3fe56b8831cfe86981b7 100644
(file)
--- 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().getNode
NoEx
(p_under).getContent() != CONTENT_AIR)
{
// Re-send block to revert change on client-side
RemoteClient *client = getClient(peer_id);