Did a bit of code restructuring.

Removed another magic number.
Add in todo for fishing.
Added in the possibility for bamboo to grow two nodes in one success.
Added in a "force" param to use with bonemealing.
This commit is contained in:
Michieal 2022-12-28 18:10:12 -05:00
parent ff7693937a
commit 731468cf5a
1 changed files with 3 additions and 1 deletions

View File

@ -839,7 +839,9 @@ minetest.register_abm({
nodenames = {bamboo},
interval = 40,
chance = 40,
action = mcl_bamboo.grow_bamboo,
action = function(pos, node)
mcl_bamboo.grow_bamboo(pos, node)
end,
})
-- Base Aliases.