mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-28 14:15:18 +01:00
Add 'ores' global mapgen flag (#10276)
This commit is contained in:
@@ -268,7 +268,8 @@ void MapgenValleys::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);
|
||||
|
||||
// Dungeon creation
|
||||
if (flags & MG_DUNGEONS)
|
||||
|
||||
Reference in New Issue
Block a user