From caf121201dfe4542f587c76374cda3f0244b9c20 Mon Sep 17 00:00:00 2001 From: minertestdude <43986027+minertestdude@users.noreply.github.com> Date: Thu, 11 Oct 2018 16:57:56 +0200 Subject: [PATCH] fix variable visibility issue --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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