diff --git a/init.lua b/init.lua index a3fe85d..caf3902 100644 --- a/init.lua +++ b/init.lua @@ -3,7 +3,7 @@ local MP = minetest.get_modpath(minetest.get_current_modname()) local S, NS = dofile(MP.."/intllib.lua") -- MCL2 compatibility -moditems = {} +local moditems = {} if core.get_modpath("mcl_core") and mcl_core then -- means MineClone 2 is loaded, this is its core mod moditems.IRON_ITEM = "mcl_core:iron_ingot" -- MCL iron