diff options
| author | mat <git@matdoes.dev> | 2026-01-17 08:50:46 -1345 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2026-01-17 08:50:46 -1345 |
| commit | be4f2df7be4963a863d6fd96f64275dd7028e9d4 (patch) | |
| tree | ef3bcec160eb11207f08435b864fafde2f17030e /azalea/src/pathfinder/positions.rs | |
| parent | 74ef7d19b2bc4453f5368cc39c838582f2f3bafd (diff) | |
| download | azalea-drasl-be4f2df7be4963a863d6fd96f64275dd7028e9d4.tar.xz | |
clippy
Diffstat (limited to 'azalea/src/pathfinder/positions.rs')
| -rw-r--r-- | azalea/src/pathfinder/positions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/src/pathfinder/positions.rs b/azalea/src/pathfinder/positions.rs index ca2768b2..eb915242 100644 --- a/azalea/src/pathfinder/positions.rs +++ b/azalea/src/pathfinder/positions.rs @@ -160,7 +160,7 @@ impl From<BlockPos> for SmallChunkSectionPos { } impl PartialOrd for SmallChunkSectionPos { fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { - self.as_u64().partial_cmp(&other.as_u64()) + Some(self.cmp(other)) } } impl Ord for SmallChunkSectionPos { |
