mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +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
|
@ -377,7 +377,8 @@ void MapgenV7::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);
|
||||
|
||||
// Generate dungeons
|
||||
if (flags & MG_DUNGEONS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue