Skip to content

Commit 016fa0d

Browse files
committedJun 7, 2015
Default/functions: Fix cacti not growing when rotation is 1-3
1 parent 7786f7f commit 016fa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mods/default/functions.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ minetest.register_abm({
124124
--
125125

126126
function default.grow_cactus(pos, node)
127-
if node.param2 ~= 0 then
127+
if node.param2 >= 4 then
128128
return
129129
end
130130
pos.y = pos.y-1

0 commit comments

Comments
 (0)