mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
fix typos in code with crate-ci/typos
This commit is contained in:
parent
b9829149cb
commit
10ee7e147d
4 changed files with 5 additions and 5 deletions
|
@ -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() {
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
|
|
|
@ -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?;
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue