From f5fd6d0b054b85bcbc7f733c0352e64df25c4be4 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sun, 3 Dec 2023 16:50:07 +0100 Subject: [PATCH] set protocol id back to zero --- kubi-shared/src/networking/messages.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubi-shared/src/networking/messages.rs b/kubi-shared/src/networking/messages.rs index 72fd8a9..f2f4ac0 100644 --- a/kubi-shared/src/networking/messages.rs +++ b/kubi-shared/src/networking/messages.rs @@ -3,7 +3,7 @@ use serde::{Serialize, Deserialize}; use crate::{chunk::{BlockData, CHUNK_SIZE}, queue::QueuedBlock, entity::Health}; use super::client::ClientId; -pub const PROTOCOL_ID: u16 = 1; +pub const PROTOCOL_ID: u16 = 0; pub const C_CLIENT_HELLO: u8 = 0; pub const C_POSITION_CHANGED: u8 = 1;