summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_mapgen.cpp
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2021-01-21 18:17:09 +0000
committerGitHub <noreply@github.com>2021-01-21 18:17:09 +0000
commit45ccfe26fb6e0a130e4925ec362cccb1f045a829 (patch)
tree050fd684fa96f8d613d1d469f2fc9bb3d94d13c6 /src/script/lua_api/l_mapgen.cpp
parentea5d6312c1ab6ff3e859fcd7a429a384f0f0ff91 (diff)
downloadminetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.tar.gz
minetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.tar.bz2
minetest-45ccfe26fb6e0a130e4925ec362cccb1f045a829.zip
Removed some obsolete code (#10562)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'src/script/lua_api/l_mapgen.cpp')
-rw-r--r--src/script/lua_api/l_mapgen.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp
index 834938e56..498859f14 100644
--- a/src/script/lua_api/l_mapgen.cpp
+++ b/src/script/lua_api/l_mapgen.cpp
@@ -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);