set protocol id back to zero

This commit is contained in:
griffi-gh 2023-12-03 16:50:07 +01:00
parent ff6f89f92e
commit f5fd6d0b05

View file

@ -3,7 +3,7 @@ use serde::{Serialize, Deserialize};
use crate::{chunk::{BlockData, CHUNK_SIZE}, queue::QueuedBlock, entity::Health}; use crate::{chunk::{BlockData, CHUNK_SIZE}, queue::QueuedBlock, entity::Health};
use super::client::ClientId; 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_CLIENT_HELLO: u8 = 0;
pub const C_POSITION_CHANGED: u8 = 1; pub const C_POSITION_CHANGED: u8 = 1;