From ce0c3e8eb87452a92c46754ef49380b6f0131fb0 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 9 Oct 2017 11:32:00 +0100 Subject: updating to newer 0.4.16 functions --- mapgen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mapgen.lua') 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) -- cgit v1.2.3