1
0
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:
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

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