From 835ca62c0655e3257c5022e2d5b20d40a94ad8b3 Mon Sep 17 00:00:00 2001 From: timvisee Date: Mon, 30 Jan 2023 18:08:23 +0100 Subject: [PATCH] Change default protocol version to 1.19.3 (761) --- docs/protocol-version.md | 4 ++-- res/lazymc.toml | 4 ++-- src/proto/mod.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/protocol-version.md b/docs/protocol-version.md index 524b88e..070c19b 100644 --- a/docs/protocol-version.md +++ b/docs/protocol-version.md @@ -21,8 +21,8 @@ In lazymc you may configure what protocol version to use: # Server version & protocol hint. # Sent to clients until actual server version is known. # See: https://git.io/J1Fvx -version = "1.18.1" -protocol = 757 +version = "1.19.3" +protocol = 761 # -- snip -- ``` diff --git a/res/lazymc.toml b/res/lazymc.toml index cd3e327..aa670f4 100644 --- a/res/lazymc.toml +++ b/res/lazymc.toml @@ -18,8 +18,8 @@ # Server version & protocol hint. # Sent to clients until actual server version is known. # See: https://git.io/J1Fvx -#version = "1.18.1" -#protocol = 757 +#version = "1.19.3" +#protocol = 761 [server] # Server address. Internal IP and port of server started by lazymc to proxy to. diff --git a/src/proto/mod.rs b/src/proto/mod.rs index e917060..9e00ea1 100644 --- a/src/proto/mod.rs +++ b/src/proto/mod.rs @@ -9,7 +9,7 @@ pub mod packets; /// in the configuration. /// /// Should be kept up-to-date with latest supported Minecraft version by lazymc. -pub const PROTO_DEFAULT_VERSION: &str = "1.18.1"; +pub const PROTO_DEFAULT_VERSION: &str = "1.19.3"; /// Default minecraft protocol version. /// @@ -17,7 +17,7 @@ pub const PROTO_DEFAULT_VERSION: &str = "1.18.1"; /// in the configuration. /// /// Should be kept up-to-date with latest supported Minecraft version by lazymc. -pub const PROTO_DEFAULT_PROTOCOL: u32 = 757; +pub const PROTO_DEFAULT_PROTOCOL: u32 = 761; /// Compression threshold to use. // TODO: read this from server.properties instead