summaryrefslogtreecommitdiff
path: root/mapgen.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-10-09 11:32:00 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-10-09 11:32:00 +0100
commitce0c3e8eb87452a92c46754ef49380b6f0131fb0 (patch)
tree2d473a9503813a64a24869d8c8ae2c7bcf08a5c1 /mapgen.lua
parent4c2965a5248f60c07a73685813517ea4f8692233 (diff)
updating to newer 0.4.16 functions
Diffstat (limited to 'mapgen.lua')
-rw-r--r--mapgen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/mapgen.lua b/mapgen.lua
index 929f181..0ca4059 100644
--- a/mapgen.lua
+++ b/mapgen.lua
@@ -39,7 +39,7 @@ register_plant("beanbush", 18, 35, "", -1, farming.beans)
register_plant("grapebush", 25, 45, "", -1, farming.grapes)
-if minetest.get_mapgen_params().mgname == "v6" then
+if minetest.get_mapgen_setting("mg_name") == "v6" then
register_plant("carrot_8", 1, 30, "group:water", 1, farming.carrot)
register_plant("cucumber_4", 1, 20, "group:water", 1, farming.cucumber)