fix variable visibility issue

This commit is contained in:
minertestdude 2018-10-11 16:57:56 +02:00 committed by GitHub
parent a20eba23d0
commit caf121201d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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