]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/lua_api/l_mapgen.cpp
Removed some obsolete code (#10562)
[dragonfireclient.git] / src / script / lua_api / l_mapgen.cpp
index 834938e5651286d68415b0c1e49be71c48d1cb98..498859f1480a3beb559b4e7a1c8e8ecc6d50cabd 100644 (file)
@@ -873,9 +873,6 @@ int ModApiMapgen::l_set_mapgen_params(lua_State *L)
        if (lua_isnumber(L, -1))
                settingsmgr->setMapSetting("chunksize", readParam<std::string>(L, -1), true);
 
-       warn_if_field_exists(L, 1, "flagmask",
-               "Obsolete: flags field now includes unset flags.");
-
        lua_getfield(L, 1, "flags");
        if (lua_isstring(L, -1))
                settingsmgr->setMapSetting("mg_flags", readParam<std::string>(L, -1), true);