From 34a40270108e51014e0884c3b6b6619ba42c17dc Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 2 Dec 2023 15:49:54 -0600 Subject: change protocol_version to an i32 --- azalea-protocol/src/packets/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/mod.rs') diff --git a/azalea-protocol/src/packets/mod.rs b/azalea-protocol/src/packets/mod.rs index eb902da2..df3a2bf0 100755 --- a/azalea-protocol/src/packets/mod.rs +++ b/azalea-protocol/src/packets/mod.rs @@ -12,7 +12,7 @@ use std::io::{Cursor, Write}; // TODO: rename the packet files to just like clientbound_add_entity instead of // clientbound_add_entity_packet -pub const PROTOCOL_VERSION: u32 = 764; +pub const PROTOCOL_VERSION: i32 = 764; #[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)] pub enum ConnectionProtocol { -- cgit v1.2.3