diff options
author | Jude Melton-Houghton <jwmhjwmh@gmail.com> | 2022-12-03 10:40:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 10:40:46 -0500 |
commit | b3ffc4b327622bec63793476191b95bc174bf33c (patch) | |
tree | f528352d914b5aacb8b4d8b31f2e702efe18d0dc /src/script/lua_api/l_mapgen.h | |
parent | e84d259ec7fcc00466bd947070cb4ed77cd83c52 (diff) | |
download | minetest-b3ffc4b327622bec63793476191b95bc174bf33c.tar.xz |
Add `minetest.get_mapgen_edges` (#12999)
Diffstat (limited to 'src/script/lua_api/l_mapgen.h')
-rw-r--r-- | src/script/lua_api/l_mapgen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mapgen.h b/src/script/lua_api/l_mapgen.h index 0bdc56fc5..1428a91c8 100644 --- a/src/script/lua_api/l_mapgen.h +++ b/src/script/lua_api/l_mapgen.h @@ -61,6 +61,9 @@ private: // set mapgen parameters static int l_set_mapgen_params(lua_State *L); + // get_mapgen_edges([mapgen_limit[, chunksize]]) + static int l_get_mapgen_edges(lua_State *L); + // get_mapgen_setting(name) static int l_get_mapgen_setting(lua_State *L); |