From 10ee7e147dc56e12e61ac3bd962abe85ddf25934 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 9 Dec 2023 18:36:16 -0600 Subject: fix typos in code with crate-ci/typos --- azalea-client/src/movement.rs | 2 +- azalea-client/src/packet_handling/game.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'azalea-client') diff --git a/azalea-client/src/movement.rs b/azalea-client/src/movement.rs index eb742a3c..2f70a40e 100644 --- a/azalea-client/src/movement.rs +++ b/azalea-client/src/movement.rs @@ -267,7 +267,7 @@ fn send_sprinting_if_needed( } } -/// Update the impulse from self.move_direction. The multipler is used for +/// Update the impulse from self.move_direction. The multiplier is used for /// sneaking. pub(crate) fn tick_controls(mut query: Query<&mut PhysicsState>) { for mut physics_state in query.iter_mut() { diff --git a/azalea-client/src/packet_handling/game.rs b/azalea-client/src/packet_handling/game.rs index a61120a9..91a3c835 100644 --- a/azalea-client/src/packet_handling/game.rs +++ b/azalea-client/src/packet_handling/game.rs @@ -742,9 +742,9 @@ pub fn process_packet_events(ecs: &mut World) { entity.world_scope(|world| { let mut commands_system_state = SystemState::::new(world); let mut commands = commands_system_state.get_mut(world); - let mut entity_comands = commands.entity(entity_id); + let mut entity_commands = commands.entity(entity_id); if let Err(e) = - apply_metadata(&mut entity_comands, *entity_kind, packed_items) + apply_metadata(&mut entity_commands, *entity_kind, packed_items) { warn!("{e}"); } -- cgit v1.2.3