From 40073f5baa2645c1894552bf82b8eab24f2dcd92 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 21 Feb 2023 19:13:51 +0000 Subject: improve docs and rename model_customisation --- .../src/packets/game/serverbound_client_information_packet.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-protocol/src/packets') diff --git a/azalea-protocol/src/packets/game/serverbound_client_information_packet.rs b/azalea-protocol/src/packets/game/serverbound_client_information_packet.rs index 95f49a23..65e13239 100755 --- a/azalea-protocol/src/packets/game/serverbound_client_information_packet.rs +++ b/azalea-protocol/src/packets/game/serverbound_client_information_packet.rs @@ -15,7 +15,7 @@ pub struct ServerboundClientInformationPacket { /// Whether the messages sent from the server should have colors. Note that /// many servers ignore this and always send colored messages. pub chat_colors: bool, - pub model_customisation: ModelCustomization, + pub model_customization: ModelCustomization, pub main_hand: HumanoidArm, pub text_filtering_enabled: bool, /// Whether the client should show up as "Anonymous Player" in the server @@ -30,7 +30,7 @@ impl Default for ServerboundClientInformationPacket { view_distance: 8, chat_visibility: ChatVisibility::default(), chat_colors: true, - model_customisation: ModelCustomization::default(), + model_customization: ModelCustomization::default(), main_hand: HumanoidArm::Right, text_filtering_enabled: false, allows_listing: false, @@ -149,7 +149,7 @@ mod tests { view_distance: 24, chat_visibility: ChatVisibility::Hidden, chat_colors: false, - model_customisation: ModelCustomization { + model_customization: ModelCustomization { cape: false, jacket: false, left_sleeve: true, -- cgit v1.2.3