aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/common/movements.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/common/movements.rs')
-rw-r--r--azalea-protocol/src/common/movements.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/common/movements.rs b/azalea-protocol/src/common/movements.rs
index f6611fc6..e7b71a2e 100644
--- a/azalea-protocol/src/common/movements.rs
+++ b/azalea-protocol/src/common/movements.rs
@@ -11,7 +11,7 @@ use azalea_entity::{LookDirection, Physics, Position};
///
/// Often, this field comes alongside a [`RelativeMovements`] field, which
/// specifies which parts of this struct should be treated as relative.
-#[derive(AzBuf, Clone, Debug)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct PositionMoveRotation {
pub pos: Vec3,
/// The updated delta movement (velocity).
@@ -19,7 +19,7 @@ pub struct PositionMoveRotation {
pub look_direction: LookDirection,
}
-#[derive(Debug, Clone, Default)]
+#[derive(Debug, Clone, Default, PartialEq)]
pub struct RelativeMovements {
pub x: bool,
pub y: bool,