diff --git a/init.lua b/init.lua index a411665..1f6ae40 100644 --- a/init.lua +++ b/init.lua @@ -10,6 +10,7 @@ local unified_inventory_modpath = minetest.get_modpath("unified_inventory") local sfinv_buttons_modpath = minetest.get_modpath("sfinv_buttons") local sfinv_modpath = minetest.get_modpath("sfinv") local mcl_books_modpath = minetest.get_modpath("mcl_books") +local mcl_formspec_modpath = minetest.get_modpath("mcl_formspec") local modstore = minetest.get_mod_storage() @@ -47,7 +48,7 @@ elseif mcl_books_modpath then end local mcl_formspec_itemslot -if mcl_formspec then +if mcl_formspec_modpath then mcl_formspec_itemslot = mcl_formspec.get_itemslot_bg end @@ -816,4 +817,4 @@ end personal_log.add_general_entry = function(player_name, content, general_topic) add_entry_for_player(player_name, GENERAL_CATEGORY, content, general_topic) -end \ No newline at end of file +end