diff options
-rw-r--r-- | mapgen.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ -local mg_params = minetest.get_mapgen_params() -if mg_params.mgname ~= "v6" and mg_params.mgname ~= "singlenode" then +local mg_name = minetest.get_mapgen_setting("mg_name") +if mg_name ~= "v6" and mg_name ~= "singlenode" then minetest.register_decoration({ deco_type = "simple", place_on = { "default:dirt_with_grass" }, |