From 9c14b3f32346f071ad12faf86105f5fd3ce03959 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 7 Dec 2021 21:48:37 +0000 Subject: polish before being ready for finishing packets --- minecraft-protocol/src/packets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minecraft-protocol/src/packets/mod.rs') 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) -> (); } -- cgit v1.2.3