From 47e66b3b131d55e04e7022e1ce34b175256b1f3f Mon Sep 17 00:00:00 2001 From: Milan2018 Date: Fri, 24 Sep 2021 21:06:53 +0200 Subject: [PATCH] bug fix --- basic_materials/metals.lua | 20 +++++++++----------- basic_materials/mod.conf | 1 - 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/basic_materials/metals.lua b/basic_materials/metals.lua index 0a3243b..66842f3 100644 --- a/basic_materials/metals.lua +++ b/basic_materials/metals.lua @@ -245,17 +245,15 @@ minetest.register_craft( { }, }) -if not minetest.get_modpath("moreores") then - -- Without moreores, there still should be a way to create brass. - minetest.register_craft( { - output = "basic_materials:brass_ingot 9", - recipe = { - {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, - {"default:gold_ingot", "default:copper_ingot", "default:gold_ingot"}, - {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, - }, - }) -end +-- Without moreores, there still should be a way to create brass. +minetest.register_craft( { + output = "basic_materials:brass_ingot 9", + recipe = { + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + {"default:gold_ingot", "default:copper_ingot", "default:gold_ingot"}, + {"default:copper_ingot", "default:tin_ingot", "default:copper_ingot"}, + }, +}) minetest.register_craft( { type = "shapeless", diff --git a/basic_materials/mod.conf b/basic_materials/mod.conf index 7234bfe..3be35c6 100644 --- a/basic_materials/mod.conf +++ b/basic_materials/mod.conf @@ -1,4 +1,3 @@ name = basic_materials depends = default -optional_depends = moreores min_minetest_version = 5.2.0