move to tokio's bytes crate
This commit is contained in:
1 parent
d1e3c8eaac
commit
90f16ab977
31 files changed
+685
-2676
No files matched your search
@@ -9,7 +9,7 @@ use crate::{
|
||||
protocol::{
|
||||
client::{config::CConfigDisconnect, login::CLoginDisconnect},
|
||||
server::{
|
||||
config::{SAcknowledgeFinishConfig, SClientInformation},
|
||||
config::{SAcknowledgeFinishConfig, SClientInformation, SKnownPacks},
|
||||
handshake::SHandShake,
|
||||
login::{SEncryptionResponse, SLoginAcknowledged, SLoginPluginResponse, SLoginStart},
|
||||
status::{SPingRequest, SStatusRequest},
|
||||
@@ -168,6 +168,9 @@ impl Client {
|
||||
SAcknowledgeFinishConfig::PACKET_ID => {
|
||||
self.handle_config_acknowledged(server, SAcknowledgeFinishConfig::read(bytebuf))
|
||||
}
|
||||
SKnownPacks::PACKET_ID => {
|
||||
self.handle_known_packs(server, SKnownPacks::read(bytebuf))
|
||||
}
|
||||
_ => log::error!(
|
||||
"Failed to handle packet id {} while in Config state",
|
||||
packet.id
|
||||
|
||||
Reference in new issue
Block a user