Fix cactus definition

This commit is contained in:
Wuzzy 2017-01-12 07:13:58 +01:00
parent de5f3d5618
commit 6dbce33373
2 changed files with 2 additions and 2 deletions

View file

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