From 5124a97addc83b362b01747c65b072e599acdbcb Mon Sep 17 00:00:00 2001 From: AFCMS Date: Thu, 11 Mar 2021 17:36:02 +0000 Subject: [PATCH] move flowers registering to separate file --- mods/ITEMS/mcl_flowers/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ITEMS/mcl_flowers/init.lua b/mods/ITEMS/mcl_flowers/init.lua index 9fa79550..ff8c7598 100644 --- a/mods/ITEMS/mcl_flowers/init.lua +++ b/mods/ITEMS/mcl_flowers/init.lua @@ -1,5 +1,6 @@ local S = minetest.get_translator("mcl_flowers") local mod_screwdriver = minetest.get_modpath("screwdriver") ~= nil +local modpath = minetest.get_modpath("mcl_flowers") mcl_flowers = {} -- Simple flower template @@ -480,3 +481,4 @@ local fix_doubleplants = minetest.settings:get_bool("fix_doubleplants", true) }) end +dofile(modpath.."/register.lua")