granite, marble and marble bricks compat with underch mod

This commit is contained in:
NathanielFreeman
2021-02-12 14:16:19 +01:00
parent 43acec2900
commit 7feaf92e81
2 changed files with 16 additions and 1 deletions

View File

@ -189,7 +189,8 @@ minetest.register_on_generated(function(minp, maxp)
vm:write_to_map(data)
end)
if not minetest.get_modpath("underch") then
if technic.config:get_bool("enable_marble_generation") then
minetest.register_ore({
ore_type = "sheet",
@ -225,3 +226,5 @@ if technic.config:get_bool("enable_granite_generation") then
}
})
end
end