diff options
| author | mat <github@matdoes.dev> | 2022-04-26 15:33:41 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-26 15:33:41 +0000 |
| commit | e5fcfa119309877ab515b921f8ada5f1b1ec4c30 (patch) | |
| tree | c5084a2f7840979feaf7483e7b598cbc888c509f /azalea-protocol/src/packets/login/clientbound_hello_packet.rs | |
| parent | f9528a9f9a9e73b1d657af7c78d743067307d843 (diff) | |
| download | azalea-drasl-e5fcfa119309877ab515b921f8ada5f1b1ec4c30.tar.xz | |
default implementation for read and write Vec<T>
Diffstat (limited to 'azalea-protocol/src/packets/login/clientbound_hello_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/login/clientbound_hello_packet.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/login/clientbound_hello_packet.rs b/azalea-protocol/src/packets/login/clientbound_hello_packet.rs index d36f1335..20af1bec 100755 --- a/azalea-protocol/src/packets/login/clientbound_hello_packet.rs +++ b/azalea-protocol/src/packets/login/clientbound_hello_packet.rs @@ -1,13 +1,13 @@ use std::hash::Hash; use super::LoginPacket; -use crate::mc_buf::{ByteArray, Readable}; +use crate::mc_buf::Readable; #[derive(Hash, Clone, Debug)] pub struct ClientboundHelloPacket { pub server_id: String, - pub public_key: ByteArray, - pub nonce: ByteArray, + pub public_key: Vec<u8>, + pub nonce: Vec<u8>, } impl ClientboundHelloPacket { |
