diff --git a/MinecraftClient/Program.cs b/MinecraftClient/Program.cs index 3c8e8336..63c60eb5 100644 --- a/MinecraftClient/Program.cs +++ b/MinecraftClient/Program.cs @@ -30,7 +30,7 @@ namespace MinecraftClient public const string Version = MCHighestVersion; public const string MCLowestVersion = "1.4.6"; - public const string MCHighestVersion = "1.15.0"; + public const string MCHighestVersion = "1.15.1"; public static readonly string BuildInfo = null; private static Thread offlinePrompt = null; diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 1c19dca7..9aeada68 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -30,12 +30,11 @@ namespace MinecraftClient.Protocol.Handlers internal const int MC110Version = 210; internal const int MC1112Version = 316; internal const int MC112Version = 335; - internal const int MC1121Version = 338; internal const int MC1122Version = 340; internal const int MC113Version = 393; internal const int MC114Version = 477; - internal const int MC1144Version = 498; internal const int MC115Version = 573; + internal const int MC1151Version = 575; private int compression_treshold = 0; private bool autocomplete_received = false; @@ -63,7 +62,7 @@ namespace MinecraftClient.Protocol.Handlers this.pForge = new Protocol18Forge(forgeInfo, protocolVersion, dataTypes, this, handler); this.pTerrain = new Protocol18Terrain(protocolVersion, dataTypes, handler); - if (handler.GetTerrainEnabled() && protocolversion > MC115Version) + if (handler.GetTerrainEnabled() && protocolversion > MC1151Version) { ConsoleIO.WriteLineFormatted("ยง8Terrain & Movements currently not handled for that MC version."); handler.SetTerrainEnabled(false); @@ -77,7 +76,7 @@ namespace MinecraftClient.Protocol.Handlers if (protocolversion >= MC113Version) { - if (protocolVersion > MC115Version && handler.GetTerrainEnabled()) + if (protocolVersion > MC1151Version && handler.GetTerrainEnabled()) throw new NotImplementedException("Please update block types handling for this Minecraft version. See Material.cs"); if (protocolVersion >= MC115Version) Block.Palette = new Palette115();