aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-core/src')
-rwxr-xr-xazalea-core/src/direction.rs4
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,