diff options
| author | mat <git@matdoes.dev> | 2023-12-09 18:36:16 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-09 18:36:16 -0600 |
| commit | 10ee7e147dc56e12e61ac3bd962abe85ddf25934 (patch) | |
| tree | a2763409c74fe50d9b01e3788b77e1870581da3c | |
| parent | b9829149cb51442bba891cbec0195848bbfdcb12 (diff) | |
| download | azalea-drasl-10ee7e147dc56e12e61ac3bd962abe85ddf25934.tar.xz | |
fix typos in code with crate-ci/typos
| -rw-r--r-- | azalea-client/src/movement.rs | 2 | ||||
| -rw-r--r-- | azalea-client/src/packet_handling/game.rs | 4 | ||||
| -rw-r--r-- | azalea-protocol/examples/handshake_proxy.rs | 2 | ||||
| -rw-r--r-- | azalea/src/swarm/chat.rs | 2 |
4 files changed, 5 insertions, 5 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}"); } diff --git a/azalea-protocol/examples/handshake_proxy.rs b/azalea-protocol/examples/handshake_proxy.rs index 4e9719b0..e63e8197 100644 --- a/azalea-protocol/examples/handshake_proxy.rs +++ b/azalea-protocol/examples/handshake_proxy.rs @@ -187,7 +187,7 @@ async fn transfer( outbound.set_nodelay(true)?; // Repeat the intent and hello packet - // recieved earlier to the proxy target + // received earlier to the proxy target let mut outbound_conn: Connection<ClientboundHandshakePacket, ServerboundHandshakePacket> = Connection::wrap(outbound); outbound_conn.write(intent.get()).await?; diff --git a/azalea/src/swarm/chat.rs b/azalea/src/swarm/chat.rs index 8ed5d7f5..7425293b 100644 --- a/azalea/src/swarm/chat.rs +++ b/azalea/src/swarm/chat.rs @@ -161,7 +161,7 @@ mod tests { fn make_test_app() -> App { let mut app = App::new(); // we add the events like this instead of with .add_event so we can have our own - // event mangement in drain_events + // event management in drain_events app.init_resource::<Events<ChatReceivedEvent>>() .init_resource::<Events<NewChatMessageEvent>>() .add_systems( |
