mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-28 02:49:33 +01:00
Fix outdated get_node_group
This commit is contained in:
parent
e5eec85e53
commit
4dc1d6b43b
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ end
|
|||
mcl_core.grow_reeds = function(pos, node)
|
||||
pos.y = pos.y-1
|
||||
local name = minetest.get_node(pos).name
|
||||
if minetest.get_node_group(name, "soil_sugarcane") ~= 0 then
|
||||
if minetest.get_item_group(name, "soil_sugarcane") ~= 0 then
|
||||
if minetest.find_node_near(pos, 1, {"group:water"}) == nil and minetest.find_node_near(pos, 1, {"group:frosted_ice"}) == nil then
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue