From 931391ea3fcc0e8e45066734c3167b2cbb46ac2f Mon Sep 17 00:00:00 2001 From: tacigar Date: Wed, 28 Dec 2016 13:04:28 +0900 Subject: [PATCH] Update wet -> soil --- maidroid_core/cores/farming.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maidroid_core/cores/farming.lua b/maidroid_core/cores/farming.lua index 884e0ae..2a5e3b7 100644 --- a/maidroid_core/cores/farming.lua +++ b/maidroid_core/cores/farming.lua @@ -28,7 +28,7 @@ local function is_plantable_place(pos) local lpos = vector.add(pos, {x = 0, y = -1, z = 0}) local lnode = minetest.get_node(lpos) return node.name == "air" - and minetest.get_item_group(lnode.name, "wet") > 0 + and minetest.get_item_group(lnode.name, "soil") > 1 end -- is_mowable_place reports whether maidroid can mow.