From dcbd690f21665e22ea250024a1aa85dec34e6c9e Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 15 Dec 2025 11:14:40 +0930 Subject: sort derives with cargo sort-derives might add to ci later, unsure how to do it without adding significant friction for contributors though --- azalea-entity/src/plugin/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-entity/src/plugin/mod.rs') diff --git a/azalea-entity/src/plugin/mod.rs b/azalea-entity/src/plugin/mod.rs index 7296f2ff..855b2899 100644 --- a/azalea-entity/src/plugin/mod.rs +++ b/azalea-entity/src/plugin/mod.rs @@ -25,7 +25,7 @@ use crate::{ }; /// A Bevy [`SystemSet`] for various types of entity updates. -#[derive(SystemSet, Debug, Hash, Eq, PartialEq, Clone)] +#[derive(Clone, Debug, Eq, Hash, PartialEq, SystemSet)] pub enum EntityUpdateSystems { /// Create search indexes for entities. Index, @@ -192,7 +192,7 @@ fn is_trapdoor_useable_as_ladder( /// loaded. /// /// If this is empty, the entity will be removed from the ECS. -#[derive(Component, Clone, Deref, DerefMut)] +#[derive(Clone, Component, Deref, DerefMut)] pub struct LoadedBy(pub HashSet); pub fn clamp_look_direction(mut query: Query<&mut LookDirection>) { @@ -254,7 +254,7 @@ pub fn update_crouching(query: Query<(&mut Crouching, &Pose), Without