fix packet errors

This commit is contained in:
Snowiiii committed 2024-07-31 22:17:51 +02:00
1 parent 2479019443
commit 87b537ccc9
16 files changed
+213 -146

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ impl Client {
Ok(self.closed)
}
pub fn kick(&mut self, reason: String) {
pub fn kick(&mut self, reason: &str) {
// Todo
match self.connection_state {
ConnectionState::Login => {