1
0
Fork 0
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:
Paramat 2020-09-03 01:28:40 +01:00 committed by GitHub
parent 74e22b72e1
commit 4ba5046308
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 18 additions and 9 deletions

View file

@ -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)