1
0
mirror of https://github.com/mt-mods/plantlife_modpack.git synced 2025-07-13 05:20: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

@ -7,6 +7,8 @@
-- Looked at code from: default , trees
-----------------------------------------------------------------------------------------------
assert(abstract_ferns.config.enable_treefern == true)
abstract_ferns.grow_tree_fern = function(pos)
local size = math.random(1,5)
local crown = math.random(1,2)
@ -189,8 +191,6 @@ minetest.register_abm({
-- GENERATE TREE FERN
-----------------------------------------------------------------------------------------------
assert(abstract_ferns.config.enable_treefern == true)
-- in jungles
if abstract_ferns.config.enable_treeferns_in_jungle == true then
plantslib:register_generate_plant({