diff options
| author | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
| commit | ee2575794e91b9457a74a95daf1dcc707058cd58 (patch) | |
| tree | df725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-world/src/find_blocks.rs | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz | |
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-world/src/find_blocks.rs')
| -rw-r--r-- | azalea-world/src/find_blocks.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-world/src/find_blocks.rs b/azalea-world/src/find_blocks.rs index 4086358f..17e66754 100644 --- a/azalea-world/src/find_blocks.rs +++ b/azalea-world/src/find_blocks.rs @@ -224,7 +224,7 @@ pub fn find_blocks_in_chunk( let block_state = section.states.get_at_index(i); if block_states.contains(&block_state) { - let section_pos = section.states.coords_from_index(i); + let section_pos = section.states.pos_from_index(i); let (x, y, z) = ( chunk_pos.x * 16 + (section_pos.x as i32), min_y + (section_index * 16) as i32 + section_pos.y as i32, |
