mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-14 05:50:16 +02:00
Moved ferns "'module' loaded" asserts to top of files
This commit is contained in:
committed by
Vanessa Ezekowitz
parent
6583cff894
commit
d49a654914
@ -8,6 +8,8 @@
|
||||
-- Supports: vines
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_giant_treefern == true)
|
||||
|
||||
-- lot of code, lot to load
|
||||
|
||||
abstract_ferns.grow_giant_tree_fern = function(pos)
|
||||
@ -275,8 +277,6 @@ minetest.register_abm({
|
||||
-- GENERATE GIANT TREE FERN
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_giant_treefern == true)
|
||||
|
||||
-- in jungles
|
||||
if abstract_ferns.config.enable_giant_treeferns_in_jungle == true then
|
||||
plantslib:register_generate_plant({
|
||||
|
Reference in New Issue
Block a user