mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
Fix: Format
This commit is contained in:
@@ -43,7 +43,7 @@ impl Client {
|
||||
self.protocol_version
|
||||
.store(version, std::sync::atomic::Ordering::Relaxed);
|
||||
let mut connection_state = self.connection_state.lock().unwrap();
|
||||
|
||||
|
||||
*connection_state = handshake.next_state;
|
||||
if *connection_state != ConnectionState::Status {
|
||||
let protocol = version;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use std::sync::{
|
||||
atomic::{AtomicI32, AtomicU8},
|
||||
Arc, Mutex,
|
||||
};
|
||||
atomic::{AtomicI32, AtomicU8},
|
||||
Arc, Mutex,
|
||||
};
|
||||
|
||||
use num_derive::FromPrimitive;
|
||||
use num_traits::ToPrimitive;
|
||||
|
||||
Reference in New Issue
Block a user