diff options
Diffstat (limited to 'azalea-core/src')
| -rwxr-xr-x | azalea-core/src/direction.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-core/src/direction.rs b/azalea-core/src/direction.rs index aa537858..0cca7aaf 100755 --- a/azalea-core/src/direction.rs +++ b/azalea-core/src/direction.rs @@ -88,7 +88,7 @@ pub enum AxisCycle { impl CardinalDirection { #[inline] - pub fn x(self) -> i32 { + pub fn x(self) -> i16 { match self { CardinalDirection::East => 1, CardinalDirection::West => -1, @@ -96,7 +96,7 @@ impl CardinalDirection { } } #[inline] - pub fn z(self) -> i32 { + pub fn z(self) -> i16 { match self { CardinalDirection::South => 1, CardinalDirection::North => -1, |
