From 01fc89df62a7823246c482ead2edad30c8449e67 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 20 Dec 2023 19:10:07 +0100 Subject: [PATCH 1/3] Apply suggestions from code review --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 9ff4ab2..6a794f2 100644 --- a/init.lua +++ b/init.lua @@ -95,8 +95,8 @@ end local function add_ore(modname, description, mineral_name, oredef) 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 From 05c082cb0ac59fdc0225f7482fc89e5a67483960 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 20 Dec 2023 19:10:15 +0100 Subject: [PATCH 2/3] Apply suggestions from code review --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 6a794f2..2da37d3 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 { From cfe8816a6e0e70625cad309250df61749487a0e4 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 20 Dec 2023 19:10:22 +0100 Subject: [PATCH 3/3] Apply suggestions from code review --- mod.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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