aboutsummaryrefslogtreecommitdiff
path: root/azalea-physics/src/local_player.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-physics/src/local_player.rs')
-rw-r--r--azalea-physics/src/local_player.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-physics/src/local_player.rs b/azalea-physics/src/local_player.rs
index f2f213d8..75bbbfb9 100644
--- a/azalea-physics/src/local_player.rs
+++ b/azalea-physics/src/local_player.rs
@@ -6,7 +6,7 @@ use bevy_ecs::component::Component;
/// Usually only present for [`LocalEntity`]s.
///
/// [`LocalEntity`]: azalea_entity::LocalEntity
-#[derive(Default, Component, Clone)]
+#[derive(Clone, Component, Default)]
pub struct PhysicsState {
/// Minecraft only sends a movement packet either after 20 ticks or if the
/// player moved enough. This is that tick counter.
@@ -35,7 +35,7 @@ pub struct PhysicsState {
/// A direction that a player can walk in, including none.
///
/// Superset of [`SprintDirection`].
-#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
+#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub enum WalkDirection {
#[default]
None,