EmptyStar / asuna

A Minetest game of vibrant natural wonders
Other
13 stars 4 forks source link

biomes: fix sapling growth #59

Closed fgaz closed 1 year ago

fgaz commented 1 year ago

grownew* functions were defined after the register_node("..._sapling", ...) calls, so on_timer were assigned nil functions, making them fail silently.

Does not fix issue #55. Other mod(pack)s are unaffected.

EmptyStar commented 1 year ago

Awesome, I didn't catch this during my recent reviews of these files. I have some sapling changes of my own that I'm trying to finish up, so I'm going to let this PR chill for a bit while I finish up work on my end, then I'll line everything up and review when the total changes are ready. Thanks for submitting this fix!