Derive Clone on Handshake
This commit is contained in:
@@ -26,7 +26,7 @@ impl HandshakeServerBoundPacket {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Encoder, Decoder, Debug)]
|
#[derive(Clone, Encoder, Decoder, Debug)]
|
||||||
pub struct Handshake {
|
pub struct Handshake {
|
||||||
#[data_type(with = "var_int")]
|
#[data_type(with = "var_int")]
|
||||||
pub protocol_version: i32,
|
pub protocol_version: i32,
|
||||||
|
Reference in New Issue
Block a user