mirror of
https://github.com/random-geek/morelights.git
synced 2025-01-04 11:57:33 +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.
|
||||
if minetest.get_modpath("basic_materials") then
|
||||
a.brass = "basic_materials:brass_ingot"
|
||||
elseif minetest.get_modpath("hades_extramaterials") then
|
||||
a.brass = "hades_extramaterials:brass_ingot"
|
||||
end
|
||||
|
||||
local path = minetest.get_modpath("morelights")
|
||||
|
Loading…
Reference in New Issue
Block a user