mirror of
https://github.com/GIKExe/rust_mc_serv.git
synced 2025-06-24 02:12:58 +03:00
fix dump read packet error
This commit is contained in:
parent
94bf69d420
commit
8a15d6748f
@ -251,9 +251,9 @@ impl ClientContext {
|
||||
};
|
||||
|
||||
if ids.contains(&packet.id()) {
|
||||
Err(ServerError::UnexpectedPacket(packet.id()))
|
||||
} else {
|
||||
Ok(packet)
|
||||
} else {
|
||||
Err(ServerError::UnexpectedPacket(packet.id()))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user