mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-13 21:40: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
@ -9,6 +9,8 @@
|
||||
-- Supports: dryplants, stoneage, sumpf
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_horsetails == true)
|
||||
|
||||
abstract_ferns.grow_horsetail = function(pos)
|
||||
local horsetail_size = math.random(1,4)
|
||||
if horsetail_size == 1 then
|
||||
@ -125,8 +127,6 @@ end
|
||||
-- Generating
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
assert(abstract_ferns.config.enable_horsetails == true)
|
||||
|
||||
if abstract_ferns.config.enable_horsetails_on_grass == true then
|
||||
plantslib:register_generate_plant({
|
||||
surface = {
|
||||
|
Reference in New Issue
Block a user