aboutsummaryrefslogtreecommitdiff
path: root/azalea-core/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-08-26 03:08:35 -0500
committermat <git@matdoes.dev>2023-08-26 03:08:35 -0500
commit5d7669f72b02c749a02bf034d382028e62509540 (patch)
tree6864b77872caaf517422fce0f1f449d32cb61166 /azalea-core/src
parentac1522db544a8e9deb84fd9a6a3ef75576420af2 (diff)
downloadazalea-drasl-5d7669f72b02c749a02bf034d382028e62509540.tar.xz
simplify pathfinder
Diffstat (limited to 'azalea-core/src')
-rwxr-xr-xazalea-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 c872f26c..d3a0e4a9 100755
--- a/azalea-core/src/direction.rs
+++ b/azalea-core/src/direction.rs
@@ -62,7 +62,7 @@ impl Direction {
}
// TODO: make azalea_block use this instead of FacingCardinal
-#[derive(Clone, Copy, Debug, McBuf)]
+#[derive(Clone, Copy, Debug, McBuf, PartialEq, Eq, Hash)]
pub enum CardinalDirection {
North,
South,