fuck
This commit is contained in:
parent
65505fa6e8
commit
998b210463
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ async fn politely_disconnect(mut connection: TcpStream, handshake: Handshake) ->
|
|||
.await?;
|
||||
connection.write_varint(buf.len() as i32).await?;
|
||||
connection.write_all(&buf).await?;
|
||||
let packet = netty::read_packet(&mut connection, 5).await?;
|
||||
let packet = netty::read_packet(&mut connection, 9).await?;
|
||||
let mut packet = packet.as_slice();
|
||||
let id = packet.read_varint()?;
|
||||
if id != 1 {
|
||||
|
|
Loading…
Reference in a new issue