1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00

remove some console.logs

This commit is contained in:
mat 2022-05-14 18:55:08 -05:00
parent e58c9390a7
commit 8fb9586609

View file

@ -177,11 +177,9 @@ impl Chunk {
pub fn get(&self, pos: &ChunkBlockPos, min_y: i32) -> u32 {
let section_index = self.section_index(pos.y, min_y);
println!("section index: {}", section_index);
// TODO: make sure the section exists
let section = &self.sections[section_index as usize];
let chunk_section_pos = ChunkSectionBlockPos::from(pos);
println!("chunk section pos: {:?}", chunk_section_pos);
let block_state = section.get(chunk_section_pos);
block_state
}