Merge pull request #132 from tacigar/tacigar/soil

Update wet -> soil
This commit is contained in:
tacigar 2016-12-28 13:05:02 +09:00 committed by GitHub
commit 8eff58524d
1 changed files with 1 additions and 1 deletions

View File

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