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:
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user