Skip to content

Commit

Permalink
Fix #4
Browse files Browse the repository at this point in the history
  • Loading branch information
TechDudie committed Apr 4, 2021
1 parent b527809 commit fbb39ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mc_bamboo/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ minetest.register_abm({
nodenames = {"mc_bamboo:bamboo"},
interval = 10.0,
chance = 4,
action = function(pos, node, active_object_count, active_object_count_wider) minetest.set_node(pos[y] = pos.y + 1, {name = "mc_bamboo:bamboo"}) end
action = function(pos, node, active_object_count, active_object_count_wider)
grow_pos = {pos.x, pos,y + 1, pos,z}
minetest.set_node(grow_pos, {name = "mc_bamboo:bamboo"})
end
})

0 comments on commit fbb39ca

Please sign in to comment.