1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-12 19:10:26 +01:00

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

This commit is contained in:
crabman77 2015-07-03 20:28:22 +02:00
parent 65a6a131f8
commit bb6be97c04

View File

@ -224,7 +224,7 @@ minetest.register_abm({
-- wrapping the functions in abm action is necessary to make overriding them possible -- wrapping the functions in abm action is necessary to make overriding them possible
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