aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-02-21 19:13:51 +0000
committermat <github@matdoes.dev>2023-02-21 19:13:51 +0000
commit40073f5baa2645c1894552bf82b8eab24f2dcd92 (patch)
treeac14d3e81d127770e2bc0bae0fefeb9272e55e0a /azalea-protocol/src
parentd88ca2d86530e48f60fc1ff275de15a96e2a1779 (diff)
downloadazalea-drasl-40073f5baa2645c1894552bf82b8eab24f2dcd92.tar.xz
improve docs and rename model_customisation
Diffstat (limited to 'azalea-protocol/src')
-rwxr-xr-xazalea-protocol/src/packets/game/serverbound_client_information_packet.rs6
1 files changed, 3 insertions, 3 deletions
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,