1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-22 23:10:17 +01:00

Default/functions: Fix cacti not growing when rotation is 1-3

This commit is contained in:
paramat 2015-06-07 03:31:23 +01:00
parent 7786f7f8b1
commit 016fa0da40

View File

@ -124,7 +124,7 @@ minetest.register_abm({
--
function default.grow_cactus(pos, node)
if node.param2 ~= 0 then
if node.param2 >= 4 then
return
end
pos.y = pos.y-1