mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-18 04:55:20 +01:00
Add 'ores' global mapgen flag (#10276)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user