mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-13 13:30:19 +02:00
Moved ferns "'module' loaded" asserts to top of files
This commit is contained in:
committed by
Vanessa Ezekowitz
parent
6583cff894
commit
d49a654914
@ -13,6 +13,8 @@
|
||||
-- http://www.mygarden.net.au/gardening/athyrium-yokoscense/3900/1
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_lady_fern == true)
|
||||
|
||||
abstract_ferns.grow_fern = function(pos)
|
||||
local fern_size = math.random(1,4)
|
||||
local right_here = {x=pos.x, y=pos.y+1, z=pos.z}
|
||||
@ -102,8 +104,6 @@ minetest.register_node("ferns:fern_01", {
|
||||
-- Spawning
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_lady_fern == true)
|
||||
|
||||
if abstract_ferns.config.lady_ferns_near_tree == true then
|
||||
plantslib:register_generate_plant({ -- near trees (woodlands)
|
||||
surface = {
|
||||
|
Reference in New Issue
Block a user