Derive Clone on Handshake

This commit is contained in:
timvisee
2021-11-18 12:00:38 +01:00
parent 356ea54243
commit 6d1ef0b27d

View File

@@ -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,