diff --git a/src/protocol/mod.rs b/src/protocol/mod.rs index 65add2c..7a61b26 100644 --- a/src/protocol/mod.rs +++ b/src/protocol/mod.rs @@ -36,7 +36,7 @@ use flate2::Compression; use std::time::{Instant, Duration}; use crate::shared::Position; -pub const SUPPORTED_PROTOCOL: i32 = 315; +pub const SUPPORTED_PROTOCOL: i32 = 316; /// Helper macro for defining packets diff --git a/src/protocol/packet.rs b/src/protocol/packet.rs index b491cd0..dc6dcca 100644 --- a/src/protocol/packet.rs +++ b/src/protocol/packet.rs @@ -751,7 +751,7 @@ state_packets!( field flags: Option = when(|p: &Teams| p.mode == 0 || p.mode == 2), field name_tag_visibility: Option = when(|p: &Teams| p.mode == 0 || p.mode == 2), field collision_rule: Option = when(|p: &Teams| p.mode == 0 || p.mode == 2), - field color: Option = when(|p: &Teams| p.mode == 0 || p.mode == 2), + field color: Option = when(|p: &Teams| p.mode == 0 || p.mode == 2), field players: Option> = when(|p: &Teams| p.mode == 0 || p.mode == 3 || p.mode == 4), } /// UpdateScore is used to update or remove an item from a scoreboard diff --git a/src/resources.rs b/src/resources.rs index 2b3a4c1..249f9da 100644 --- a/src/resources.rs +++ b/src/resources.rs @@ -30,8 +30,8 @@ use zip; use crate::types::hash::FNVHash; use crate::ui; -const RESOURCES_VERSION: &str = "1.11"; -const VANILLA_CLIENT_URL: &str = "https://launcher.mojang.com/mc/game/1.11/client/780e46b3a96091a7f42c028c615af45974629072/client.jar"; +const RESOURCES_VERSION: &str = "1.11.2"; +const VANILLA_CLIENT_URL: &str = "https://launcher.mojang.com/mc/game/1.11.2/client/db5aa600f0b0bf508aaf579509b345c4e34087be/client.jar"; const ASSET_VERSION: &str = "1.11"; const ASSET_INDEX_URL: &str = "https://launchermeta.mojang.com/mc/assets/1.11/e02b8fba4390e173057895c56ecc91e3ce3bbd40/1.11.json";