aboutsummaryrefslogtreecommitdiff
path: root/azalea-client
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-12-09 18:36:16 -0600
committermat <git@matdoes.dev>2023-12-09 18:36:16 -0600
commit10ee7e147dc56e12e61ac3bd962abe85ddf25934 (patch)
treea2763409c74fe50d9b01e3788b77e1870581da3c /azalea-client
parentb9829149cb51442bba891cbec0195848bbfdcb12 (diff)
downloadazalea-drasl-10ee7e147dc56e12e61ac3bd962abe85ddf25934.tar.xz
fix typos in code with crate-ci/typos
Diffstat (limited to 'azalea-client')
-rw-r--r--azalea-client/src/movement.rs2
-rw-r--r--azalea-client/src/packet_handling/game.rs4
2 files changed, 3 insertions, 3 deletions
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::<Commands>::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}");
}