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