move flowers registering to separate file
This commit is contained in:
parent
31eff23ce8
commit
5124a97add
|
@ -1,5 +1,6 @@
|
||||||
local S = minetest.get_translator("mcl_flowers")
|
local S = minetest.get_translator("mcl_flowers")
|
||||||
local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil
|
local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil
|
||||||
|
local modpath = minetest.get_modpath("mcl_flowers")
|
||||||
|
|
||||||
mcl_flowers = {}
|
mcl_flowers = {}
|
||||||
-- Simple flower template
|
-- Simple flower template
|
||||||
|
@ -480,3 +481,4 @@ local fix_doubleplants = minetest.settings:get_bool("fix_doubleplants", true)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
dofile(modpath.."/register.lua")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user