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/effects.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-entity/src/effects.rs') diff --git a/azalea-entity/src/effects.rs b/azalea-entity/src/effects.rs index aa930a78..ae7ae8a1 100644 --- a/azalea-entity/src/effects.rs +++ b/azalea-entity/src/effects.rs @@ -9,7 +9,7 @@ use azalea_registry::builtin::MobEffect; use bevy_ecs::component::Component; /// Data about an active mob effect. -#[derive(Clone, Debug, Default, PartialEq, AzBuf)] +#[derive(AzBuf, Clone, Debug, Default, PartialEq)] pub struct MobEffectData { /// The effect's amplifier level, starting at 0 if present. #[var] @@ -64,7 +64,7 @@ impl AzaleaWrite for MobEffectFlags { } /// An ECS component that stores the active mob effects on an entity. -#[derive(Component, Clone, Debug, Default)] +#[derive(Clone, Component, Debug, Default)] pub struct ActiveEffects(pub HashMap); impl ActiveEffects { pub fn insert(&mut self, effect: MobEffect, data: MobEffectData) { -- cgit v1.2.3