check for mcl_formspec via get_modpath
This commit is contained in:
parent
7a8e13c664
commit
8f47fbf010
@ -1,7 +1,7 @@
|
||||
local S = minetest.get_translator(minetest.get_current_modname())
|
||||
|
||||
local mcl_formspec_itemslots
|
||||
if mcl_formspec then
|
||||
if minetest.get_modpath("mcl_formspec") then
|
||||
mcl_formspec_itemslots = mcl_formspec.get_itemslot_bg
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user