aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src/direction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-core/src/direction.rs')
-rw-r--r--azalea-core/src/direction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-core/src/direction.rs b/azalea-core/src/direction.rs
index 96d20a10..dcc9a654 100644
--- a/azalea-core/src/direction.rs
+++ b/azalea-core/src/direction.rs
@@ -73,7 +73,7 @@ impl AxisCycle {
Self::Backward => Axis::from_ordinal(floor_mod(axis as i32 - 1, 3)),
}
}
- pub fn cycle_xyz(self, x: u32, y: u32, z: u32, axis: Axis) -> u32 {
+ pub fn cycle_xyz(self, x: i32, y: i32, z: i32, axis: Axis) -> i32 {
match self {
Self::None => axis.choose(x, y, z),
Self::Forward => axis.choose(z, x, y),