forked from MineClone5/MineClone5
Add setting to dissable ores generation #874
This commit is contained in:
parent
2d0612fa81
commit
0e6177ee1f
|
@ -223,6 +223,7 @@ minetest.register_ore({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.settings:get("mcl_generate_ores") == "true" then
|
||||||
--
|
--
|
||||||
-- Coal
|
-- Coal
|
||||||
--
|
--
|
||||||
|
@ -631,6 +632,7 @@ minetest.register_ore({
|
||||||
y_min = mcl_worlds.layer_to_y(31),
|
y_min = mcl_worlds.layer_to_y(31),
|
||||||
y_max = mcl_worlds.layer_to_y(32),
|
y_max = mcl_worlds.layer_to_y(32),
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
|
||||||
if not superflat then
|
if not superflat then
|
||||||
-- Water and lava springs (single blocks of lava/water source)
|
-- Water and lava springs (single blocks of lava/water source)
|
||||||
|
|
Loading…
Reference in New Issue