1
0
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:
Craig Robbins
2014-08-22 17:07:27 +10:00
committed by Vanessa Ezekowitz
parent 6583cff894
commit d49a654914
4 changed files with 8 additions and 8 deletions

View File

@ -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 = {