diff options
Diffstat (limited to 'server/protocol/src')
-rw-r--r-- | server/protocol/src/lib.rs | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/server/protocol/src/lib.rs b/server/protocol/src/lib.rs index b8f30ce7..fb6ad46e 100644 --- a/server/protocol/src/lib.rs +++ b/server/protocol/src/lib.rs @@ -27,7 +27,7 @@ pub use glam; pub mod movement; -pub const VERSION: (u32, u32) = (6, 0); +pub const VERSION: (u32, u32) = (7, 0); pub const BINCODE_CONFIG: Configuration<LittleEndian, Varint, Limit<4096>> = standard().with_limit(); @@ -220,7 +220,8 @@ pub enum PacketC { player: PlayerID, }, ServerMessage { - text: String, + message: Message, + error: bool, }, ServerHint { #[bincode(with_serde)] @@ -232,9 +233,6 @@ pub enum PacketC { state: bool, lobby: bool, }, - Error { - message: String, - }, Menu(Menu), MovementSync { player: PlayerID, |