refactor if statment

This commit is contained in:
unknown 2022-02-27 11:30:27 -05:00
parent 6e41b10e5f
commit 0837b7d766

@ -75,10 +75,10 @@ elseif minetest.get_modpath("hades_core") then
--set this to steel unless hadesextraores is present
silver_ingot = "hades_core:steel_ingot",
}
end
if minetest.get_modpath("hades_core") and minetest.get_modpath("hades_extraores") then
materials["silver_ingot"] = "hades_extraores:silver_ingot"
if minetest.get_modpath("hades_extraores") then
materials["silver_ingot"] = "hades_extraores:silver_ingot"
end
end
--craft recipes