Less unwraps

This commit is contained in:
Snowiiii committed 2024-08-28 18:52:30 +02:00
1 parent 0ba9b37048
commit c36b6d3464
5 files changed
+193 -140

No files matched your search

+2
View File
@@ -31,6 +31,8 @@ use super::{
/// Processes incoming Packets from the Client to the Server
/// Implements the `Client` Packets
/// NEVER TRUST THE CLIENT. HANDLE EVERY ERROR, UNWRAP/EXPECT
/// TODO: REMOVE ALL UNWRAPS
impl Client {
pub fn handle_handshake(&mut self, _server: &mut Server, handshake: SHandShake) {
dbg!("handshake");