mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
maybe fix deadlock idk
can't test it rn lmao
This commit is contained in:
parent
6da1bced1e
commit
1b83277a0c
1 changed files with 3 additions and 3 deletions
|
@ -194,15 +194,15 @@ impl Client {
|
|||
// we got the GameConnection, so the server is now connected :)
|
||||
let client = Client::new(game_profile.clone(), entity, ecs_lock.clone());
|
||||
|
||||
let world = client.world();
|
||||
|
||||
let (packet_writer_sender, packet_writer_receiver) = mpsc::unbounded_channel();
|
||||
|
||||
let mut local_player = crate::local_player::LocalPlayer::new(
|
||||
entity,
|
||||
game_profile,
|
||||
packet_writer_sender,
|
||||
world,
|
||||
// default to an empty world, it'll be set correctly later when we
|
||||
// get the login packet
|
||||
Arc::new(RwLock::new(World::default())),
|
||||
ecs.resource_mut::<EntityInfos>().deref_mut(),
|
||||
tx,
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue