mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-07-13 05:20:19 +02:00
Stop polluting global namespace
This commit is contained in:
committed by
Vanessa Ezekowitz
parent
50cb0a2741
commit
f44f81213c
@ -10,19 +10,19 @@ abstract_ferns = {}
|
||||
|
||||
dofile(minetest.get_modpath("ferns").."/settings.lua")
|
||||
|
||||
if Lady_fern == true then
|
||||
dofile(minetest.get_modpath("ferns").."/fern.lua")
|
||||
if abstract_ferns.config.Lady_fern == true then
|
||||
dofile(minetest.get_modpath("ferns").."/fern.lua")
|
||||
end
|
||||
|
||||
if Horsetails == true then
|
||||
if abstract_ferns.Horsetails == true then
|
||||
dofile(minetest.get_modpath("ferns").."/horsetail.lua")
|
||||
end
|
||||
|
||||
if Tree_Fern == true then
|
||||
if abstract_ferns.config.Tree_Fern == true then
|
||||
dofile(minetest.get_modpath("ferns").."/treefern.lua")
|
||||
end
|
||||
|
||||
if Giant_Tree_Fern == true then
|
||||
if abstract_ferns.config.Giant_Tree_Fern == true then
|
||||
dofile(minetest.get_modpath("ferns").."/gianttreefern.lua")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user