fn update_column_light(&mut self, pos: ChunkPosXZ) {
        if let Some(chunk_column) = self.chunk_columns.get(&pos) {
            for chunk_pos in chunk_column.loaded_chunks.iter() {
                let server_chunk = self.chunks.get_mut(chunk_pos).expect("Column loaded chunk is not loaded in the world");
                server_chunk.needs_light_update = true;
            }
        }
    }
/// Mark an entire chunk column for light updates
Mark an entire chunk column for light updates
Mark an entire chunk column for light updates
fn update_column_light(&mut self, pos: ChunkPosXZ) {
        if let Some(chunk_column) = self.chunk_columns.get(&pos) {
            for chunk_pos in chunk_column.loaded_chunks.iter() {
                let server_chunk = self.chunks.get_mut(chunk_pos).expect("Column loaded chunk is not loaded in the world");
                server_chunk.needs_light_update = true;
            }
        }
    }
fn update_column_light ( & mut self , pos : ChunkPosXZ ) { if let Some ( chunk_column ) = self . chunk_columns . get ( & pos ) { for chunk_pos in chunk_column . loaded_chunks . iter ( ) { let server_chunk = self . chunks . get_mut ( chunk_pos ) . expect ( " " ) ; server_chunk . needs_light_update = true ; } } }
Mark an entire chunk column for light updates
Mark an entire chunk column for light updates
&mut self
pos
ChunkPosXZ
&mut self
pos
ChunkPosXZ