mirror of
https://github.com/random-geek/morelights.git
synced 2025-01-21 13:31:31 +01:00
Use brass from hades_extramaterials mod if available. (#8)
* Use brass from hades_extramaterials mod if available. * Use elseif.
This commit is contained in:
parent
477e7eaca2
commit
859af5989f
@ -149,6 +149,8 @@ end
|
|||||||
-- Use basic_materials brass if available, otherwise register our own.
|
-- Use basic_materials brass if available, otherwise register our own.
|
||||||
if minetest.get_modpath("basic_materials") then
|
if minetest.get_modpath("basic_materials") then
|
||||||
a.brass = "basic_materials:brass_ingot"
|
a.brass = "basic_materials:brass_ingot"
|
||||||
|
elseif minetest.get_modpath("hades_extramaterials") then
|
||||||
|
a.brass = "hades_extramaterials:brass_ingot"
|
||||||
end
|
end
|
||||||
|
|
||||||
local path = minetest.get_modpath("morelights")
|
local path = minetest.get_modpath("morelights")
|
||||||
|
Loading…
Reference in New Issue
Block a user