fix packet errors
This commit is contained in:
1 parent
2479019443
commit
87b537ccc9
16 files changed
+213
-146
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user