aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/c_update_attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game/c_update_attributes.rs')
-rw-r--r--azalea-protocol/src/packets/game/c_update_attributes.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/c_update_attributes.rs b/azalea-protocol/src/packets/game/c_update_attributes.rs
index 80e4729f..8fb95c28 100644
--- a/azalea-protocol/src/packets/game/c_update_attributes.rs
+++ b/azalea-protocol/src/packets/game/c_update_attributes.rs
@@ -4,14 +4,14 @@ use azalea_protocol_macros::ClientboundGamePacket;
use azalea_registry::builtin::Attribute;
use azalea_world::MinecraftEntityId;
-#[derive(Clone, Debug, AzBuf, PartialEq, ClientboundGamePacket)]
+#[derive(AzBuf, ClientboundGamePacket, Clone, Debug, PartialEq)]
pub struct ClientboundUpdateAttributes {
#[var]
pub entity_id: MinecraftEntityId,
pub values: Vec<AttributeSnapshot>,
}
-#[derive(Clone, Debug, AzBuf, PartialEq)]
+#[derive(AzBuf, Clone, Debug, PartialEq)]
pub struct AttributeSnapshot {
pub attribute: Attribute,
pub base: f64,