diff --git a/init.lua b/init.lua index 73a2ddd..c63e9ce 100644 --- a/init.lua +++ b/init.lua @@ -45,8 +45,8 @@ end -- Returns the crafting recipe table for a given material and item. local function get_recipe(material, item) if is_mcl_core_present then - material = material:gsub("default:", "mcl_core:") - end + material = material:gsub("default:", "mcl_core:") + end if item == "sword" then return { @@ -95,8 +95,8 @@ end local function add_ore(modname, description, mineral_name, oredef, extra_node_def) if mineral_name == "copper" and is_mcl_copper_present then - return - end + return + end local img_base = modname .. "_" .. mineral_name local toolimg_base = modname .. "_tool_"..mineral_name diff --git a/mod.conf b/mod.conf index 49c3287..fab3de5 100644 --- a/mod.conf +++ b/mod.conf @@ -2,4 +2,4 @@ name = moreores description = Adds new ore types. optional_depends = carts,farming,frame,mg,toolranks,mcl_core,mcl_sounds min_minetest_version = 5.0.0 -supported_games mineclone2,mineclonia,minetest_game +supported_games = mineclone2,mineclonia,minetest_game