mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-03-21 15:21:21 +00:00
Default/functions: Fix cacti not growing when rotation is 1-3
This commit is contained in:
parent
7786f7f8b1
commit
016fa0da40
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ minetest.register_abm({
|
||||||
--
|
--
|
||||||
|
|
||||||
function default.grow_cactus(pos, node)
|
function default.grow_cactus(pos, node)
|
||||||
if node.param2 ~= 0 then
|
if node.param2 >= 4 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
pos.y = pos.y-1
|
pos.y = pos.y-1
|
||||||
|
|
Loading…
Add table
Reference in a new issue