diff options
| author | mat <git@matdoes.dev> | 2025-03-25 04:06:47 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-03-25 04:06:47 +0000 |
| commit | 656162d2186444f70512af7012f87bfbf9da916a (patch) | |
| tree | ba8e3f52e0f681a4cd2c46525c207f977a861251 /azalea-client/src/test_simulation.rs | |
| parent | 113222a3a25f0952958c0d0d19968090aa1f34d7 (diff) | |
| download | azalea-drasl-656162d2186444f70512af7012f87bfbf9da916a.tar.xz | |
make events channel in Client::start_client optional
Diffstat (limited to 'azalea-client/src/test_simulation.rs')
| -rw-r--r-- | azalea-client/src/test_simulation.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/azalea-client/src/test_simulation.rs b/azalea-client/src/test_simulation.rs index 0f34c14e..13d65bbb 100644 --- a/azalea-client/src/test_simulation.rs +++ b/azalea-client/src/test_simulation.rs @@ -30,7 +30,6 @@ use uuid::Uuid; use crate::disconnect::DisconnectEvent; use crate::{ ClientInformation, GameProfileComponent, InConfigState, InstanceHolder, LocalPlayerBundle, - events::LocalPlayerEvents, raw_connection::{RawConnection, RawConnectionReader, RawConnectionWriter}, }; @@ -191,14 +190,11 @@ fn create_local_player_bundle( connection_protocol, }; - let (local_player_events_sender, _local_player_events_receiver) = mpsc::unbounded_channel(); - let instance = Instance::default(); let instance_holder = InstanceHolder::new(entity, Arc::new(RwLock::new(instance))); let local_player_bundle = LocalPlayerBundle { raw_connection, - local_player_events: LocalPlayerEvents(local_player_events_sender), game_profile: GameProfileComponent(GameProfile::new(Uuid::nil(), "azalea".to_owned())), client_information: ClientInformation::default(), instance_holder, |
