diff options
| author | mat <git@matdoes.dev> | 2023-08-01 02:40:29 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-08-01 02:40:29 -0500 |
| commit | 3350ef0f7f1de8ea99b7754661abafe45198dd6f (patch) | |
| tree | b3b5da0a89aa5bff806f83aa3c2ce01ae1377c41 | |
| parent | 68f01625cc151e57c3639c430da5d47cccf5e39f (diff) | |
| download | azalea-drasl-3350ef0f7f1de8ea99b7754661abafe45198dd6f.tar.xz | |
remove unnecessary parens
| -rw-r--r-- | azalea-world/src/world.rs | 4 |
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; |
