mirror of
https://github.com/tacigar/maidroid.git
synced 2025-01-10 08:10:17 +01:00
commit
8eff58524d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user