diff options
Diffstat (limited to 'azalea-client/src')
| -rw-r--r-- | azalea-client/src/client.rs | 2 | ||||
| -rw-r--r-- | azalea-client/src/movement.rs | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/azalea-client/src/client.rs b/azalea-client/src/client.rs index 11b098ca..9b3f7cdf 100644 --- a/azalea-client/src/client.rs +++ b/azalea-client/src/client.rs @@ -163,8 +163,6 @@ impl Client { // just start up the game loop and we're ready! - let game_loop_state = client.clone(); - // if you get an error right here that means you're doing something with locks wrong // read the error to see where the issue is // you might be able to just drop the lock or put it in its own scope to fix diff --git a/azalea-client/src/movement.rs b/azalea-client/src/movement.rs index 7ab4ddc2..5247e0f0 100644 --- a/azalea-client/src/movement.rs +++ b/azalea-client/src/movement.rs @@ -8,7 +8,7 @@ impl Client { let mut dimension_lock = self.dimension.lock().unwrap(); let dimension = dimension_lock.as_mut().unwrap(); - let mut player_lock = self.player.lock().unwrap(); + let player_lock = self.player.lock().unwrap(); let player_id = if let Some(player_lock) = player_lock.entity(dimension) { player_lock.id @@ -35,7 +35,6 @@ impl Client { .get(), ) .await; - println!("obtained lock on conn"); Ok(()) } |
