1
0
mirror of https://github.com/mt-mods/basic_materials.git synced 2024-11-16 07:20:32 +01:00

refactor if statment

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

View File

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