]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/map.h
Fix the documentation of InvRef:get_lists() and clean up code (#12150)
[dragonfireclient.git] / src / map.h
index e68795c4a14443fa9935c72e7a10b5570aa0c648..fe580b20f8bccf9fbc35ca4a42466c37c109defe 100644 (file)
--- a/src/map.h
+++ b/src/map.h
@@ -167,9 +167,6 @@ class Map /*: public NodeContainer*/
 
        inline const NodeDefManager * getNodeDefManager() { return m_nodedef; }
 
-       // Returns InvalidPositionException if not found
-       bool isNodeUnderground(v3s16 p);
-
        bool isValidPosition(v3s16 p);
 
        // throws InvalidPositionException if not found
@@ -365,6 +362,8 @@ class ServerMap : public Map
        */
        MapBlock *getBlockOrEmerge(v3s16 p3d);
 
+       bool isBlockInQueue(v3s16 pos);
+
        /*
                Database functions
        */