mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Add 'ores' global mapgen flag (#10276)
This commit is contained in:
parent
74e22b72e1
commit
4ba5046308
10 changed files with 18 additions and 9 deletions
|
@ -264,7 +264,8 @@ void MapgenFlat::makeChunk(BlockMakeData *data)
|
|||
}
|
||||
|
||||
// Generate the registered ores
|
||||
m_emerge->oremgr->placeAllOres(this, blockseed, node_min, node_max);
|
||||
if (flags & MG_ORES)
|
||||
m_emerge->oremgr->placeAllOres(this, blockseed, node_min, node_max);
|
||||
|
||||
if (flags & MG_DUNGEONS)
|
||||
generateDungeons(stone_surface_max_y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue