diff options
| author | mat <github@matdoes.dev> | 2021-12-07 21:48:37 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-07 21:48:37 +0000 |
| commit | 9c14b3f32346f071ad12faf86105f5fd3ce03959 (patch) | |
| tree | 003ae48d033ff0f335c81389a4772b17813121c1 /minecraft-protocol/src/packets/mod.rs | |
| parent | 500754eab0bb99e6bd1769ddd999241ce26b5f91 (diff) | |
| download | azalea-drasl-9c14b3f32346f071ad12faf86105f5fd3ce03959.tar.xz | |
polish before being ready for finishing packets
Diffstat (limited to 'minecraft-protocol/src/packets/mod.rs')
| -rw-r--r-- | minecraft-protocol/src/packets/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/minecraft-protocol/src/packets/mod.rs b/minecraft-protocol/src/packets/mod.rs index b8372ccd..6a053124 100644 --- a/minecraft-protocol/src/packets/mod.rs +++ b/minecraft-protocol/src/packets/mod.rs @@ -13,7 +13,7 @@ pub enum ConnectionProtocol { pub trait Packet { /// Get the id of the packet, this is always a byte. - fn get_id(&self) -> u8; + fn get_id(&self) -> u32; fn write(&self, friendly_byte_buf: &mut Vec<u8>) -> (); } |
