mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
clippy
This commit is contained in:
parent
1f46ef8c11
commit
a42161a203
5 changed files with 4 additions and 18 deletions
|
@ -233,5 +233,3 @@ impl Account {
|
|||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
fn uuid_from_username() {}
|
||||
|
|
|
@ -59,9 +59,7 @@ use azalea_protocol::{
|
|||
resolver, ServerAddress,
|
||||
};
|
||||
use azalea_world::{Instance, InstanceContainer, InstanceName, PartialInstance};
|
||||
use bevy_app::{
|
||||
App, FixedUpdate, Plugin, PluginGroup, PluginGroupBuilder, PreStartup, Startup, Update,
|
||||
};
|
||||
use bevy_app::{App, FixedUpdate, Plugin, PluginGroup, PluginGroupBuilder, Update};
|
||||
use bevy_ecs::{
|
||||
bundle::Bundle,
|
||||
component::Component,
|
||||
|
|
|
@ -3,14 +3,9 @@ use std::{collections::HashMap, io, sync::Arc};
|
|||
use azalea_auth::game_profile::GameProfile;
|
||||
use azalea_core::game_type::GameMode;
|
||||
use azalea_entity::Dead;
|
||||
use azalea_protocol::packets::game::{
|
||||
clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket, ServerboundGamePacket,
|
||||
};
|
||||
use azalea_protocol::packets::game::clientbound_player_abilities_packet::ClientboundPlayerAbilitiesPacket;
|
||||
use azalea_world::{Instance, PartialInstance};
|
||||
use bevy_ecs::{
|
||||
component::Component, entity::Entity, event::EventReader, prelude::*, query::Added,
|
||||
system::Query,
|
||||
};
|
||||
use bevy_ecs::{component::Component, entity::Entity, prelude::*, query::Added, system::Query};
|
||||
use derive_more::{Deref, DerefMut};
|
||||
use parking_lot::RwLock;
|
||||
use thiserror::Error;
|
||||
|
@ -20,7 +15,6 @@ use uuid::Uuid;
|
|||
|
||||
use crate::{
|
||||
events::{Event as AzaleaEvent, LocalPlayerEvents},
|
||||
raw_connection::RawConnection,
|
||||
ClientInformation, PlayerInfo,
|
||||
};
|
||||
|
||||
|
|
|
@ -8,10 +8,6 @@ use bevy_ecs::prelude::*;
|
|||
use tokio::sync::mpsc;
|
||||
use tracing::error;
|
||||
|
||||
use crate::raw_connection::RawConnection;
|
||||
|
||||
use super::game::SendPacketEvent;
|
||||
|
||||
// this struct is defined here anyways though so it's consistent with the other
|
||||
// ones
|
||||
|
||||
|
|
|
@ -536,7 +536,7 @@ impl Swarm {
|
|||
state: S,
|
||||
) -> Result<Client, JoinError> {
|
||||
let address = self.address.read().clone();
|
||||
let resolved_address = self.resolved_address.read().clone();
|
||||
let resolved_address = *self.resolved_address.read();
|
||||
|
||||
let (bot, mut rx) = Client::start_client(
|
||||
self.ecs_lock.clone(),
|
||||
|
|
Loading…
Add table
Reference in a new issue