1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2025-06-30 07:11:13 +02:00

updating to newer 0.4.16 functions

This commit is contained in:
TenPlus1
2017-10-09 11:32:00 +01:00
parent 4c2965a524
commit ce0c3e8eb8
6 changed files with 12 additions and 10 deletions

View File

@ -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)