Fix: Format

This commit is contained in:
Snowiiii committed 2024-09-09 21:14:22 +02:00
1 parent c8fee9b23c
commit 58831cd0c9
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -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;