world/chunk: include biomes in section iterator item

This commit is contained in:
Matthias Schiffer 2023-04-08 21:03:50 +02:00
parent ddc515a9d7
commit 0d2c99dacf
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
2 changed files with 36 additions and 25 deletions

View file

@ -106,6 +106,7 @@ pub fn top_layer(chunk: &Chunk) -> Result<Option<(Box<BlockInfoArray>, Box<Block
for SectionIterItem {
y: section_y,
section,
biomes: _,
block_light,
} in chunk.sections().rev()
{