Fix cactus definition
This commit is contained in:
parent
de5f3d5618
commit
6dbce33373
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ grow_cactus = function(pos, node)
|
|||
height = height+1
|
||||
pos.y = pos.y+1
|
||||
end
|
||||
if height < 4 then
|
||||
if height < 3 then
|
||||
if minetest.get_node(pos).name == "air" then
|
||||
minetest.set_node(pos, {name="default:cactus"})
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue