mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
Default/functions: Fix cacti not growing when rotation is 1-3
This commit is contained in:
parent
65a6a131f8
commit
bb6be97c04
@ -224,7 +224,7 @@ minetest.register_abm({
|
||||
-- wrapping the functions in abm action is necessary to make overriding them possible
|
||||
|
||||
function default.grow_cactus(pos, node)
|
||||
if node.param2 ~= 0 then
|
||||
if node.param2 >= 4 then
|
||||
return
|
||||
end
|
||||
pos.y = pos.y - 1
|
||||
|
Loading…
Reference in New Issue
Block a user