mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add param2 field for ores, some minor fixes and misc. code cleanup
This commit is contained in:
parent
4468ea84e6
commit
7c0e707cf1
5 changed files with 33 additions and 48 deletions
|
@ -467,7 +467,7 @@ void MapgenV6::makeChunk(BlockMakeData *data) {
|
|||
// Generate the registered ores
|
||||
for (unsigned int i = 0; i != emerge->ores.size(); i++) {
|
||||
Ore *ore = emerge->ores[i];
|
||||
ore->generate(this, blockseed + i, node_min, node_max);
|
||||
ore->placeOre(this, blockseed + i, node_min, node_max);
|
||||
}
|
||||
|
||||
// Calculate lighting
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue