aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--azalea-world/src/world.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea-world/src/world.rs b/azalea-world/src/world.rs
index 6e169939..ecd2e653 100644
--- a/azalea-world/src/world.rs
+++ b/azalea-world/src/world.rs
@@ -187,7 +187,9 @@ impl Instance {
(chunk_pos.x - start_chunk.x).unsigned_abs(),
(chunk_pos.z - start_chunk.z).unsigned_abs(),
),
- ((nearest_to.y - nearest_found_pos.y).unsigned_abs()).div_ceil(16),
+ (nearest_to.y - nearest_found_pos.y)
+ .unsigned_abs()
+ .div_ceil(16),
);
let nearest_chunk_distance = iter.layer;