Skip to content
Snippets Groups Projects
Commit 892ab3fa authored by Milan's avatar Milan
Browse files

default: get darkage modpath to ensure basalt is available

parent 1e7ea097
No related branches found
No related tags found
No related merge requests found
......@@ -101,10 +101,14 @@ end
--
lavagen = {
"darkage:basalt",
"default:stone"
}
-- thanks to ElectronLibre from Minetest IRC
if minetest.get_modpath("darkage")
then table.insert(lavagen, "darkage:basalt")
end
default.cool_lava = function(pos, node)
if node.name == "default:lava_source" then
minetest.set_node(pos, {name = "default:obsidian"})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment