1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Add 'ores' global mapgen flag (#10276)

This commit is contained in:
Paramat
2020-09-03 01:28:40 +01:00
committed by GitHub
parent 74e22b72e1
commit 4ba5046308
10 changed files with 18 additions and 9 deletions

View File

@@ -652,7 +652,8 @@ void MapgenV6::makeChunk(BlockMakeData *data)
m_emerge->decomgr->placeAllDecos(this, blockseed, node_min, node_max);
// 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);
// Calculate lighting
if (flags & MG_LIGHT)