Catch SendFailedException when replying back in Connection::Receive()
[oweals/minetest.git] / src / map.h
index b58ba047be1a0aace8b92162ec6bb35f239f5d4f..64a69cfd4cba866f2f4af72415d1c0149705930e 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -157,6 +157,10 @@ public:
        // Returns NULL if not found
        MapBlock * getBlockNoCreateNoEx(v3s16 p);
        
+       /* Server overrides */
+       virtual MapBlock * emergeBlock(v3s16 p, bool allow_generate=true)
+       { return getBlockNoCreateNoEx(p); }
+
        // Returns InvalidPositionException if not found
        bool isNodeUnderground(v3s16 p);