0
0
Fork 0

Add setting to dissable ores generation #874

This commit is contained in:
AFCMS 2021-02-22 12:33:28 +00:00
parent 2d0612fa81
commit 0e6177ee1f
1 changed files with 395 additions and 393 deletions

View File

@ -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)