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:
parent
e58c9390a7
commit
8fb9586609
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue