aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-08-01 02:40:29 -0500
committermat <git@matdoes.dev>2023-08-01 02:40:29 -0500
commit3350ef0f7f1de8ea99b7754661abafe45198dd6f (patch)
treeb3b5da0a89aa5bff806f83aa3c2ce01ae1377c41 /azalea-world/src
parent68f01625cc151e57c3639c430da5d47cccf5e39f (diff)
downloadazalea-drasl-3350ef0f7f1de8ea99b7754661abafe45198dd6f.tar.xz
remove unnecessary parens
Diffstat (limited to 'azalea-world/src')
-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;