mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-11 09:39:06 +02:00
world/chunk: add block light to section iterator items
This commit is contained in:
parent
482471492c
commit
51602d5fc1
2 changed files with 23 additions and 5 deletions
|
@ -100,6 +100,7 @@ pub fn top_layer(chunk: &Chunk) -> Result<Box<BlockInfoArray>> {
|
|||
for SectionIterItem {
|
||||
y: section_y,
|
||||
section,
|
||||
block_light: _,
|
||||
} in chunk.sections().rev()
|
||||
{
|
||||
for y in BlockY::iter().rev() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue