Fix a crash (assert) when client set serial version < 24 in INIT command SER_FMT_VER_...
[oweals/minetest.git] / src / mapblock.cpp
index 4cc0abc8176104c5a5a922205d6067de223e7df2..c22096562e81681ff4928069c53b20390c1bd2d7 100644 (file)
@@ -526,12 +526,6 @@ void MapBlock::serialize(std::ostream &os, u8 version, bool disk)
                throw SerializationError("ERROR: Not writing dummy block.");
        }
 
-       // Can't do this anymore; we have 16-bit dynamically allocated node IDs
-       // in memory; conversion just won't work in this direction.
-       if(version < 24)
-               throw SerializationError("MapBlock::serialize: serialization to "
-                               "version < 24 not possible");
-
        // First byte
        u8 flags = 0;
        if(is_underground)