From 084668b62177f07a17fa13b9491d1ef81d6481cd Mon Sep 17 00:00:00 2001 From: ORelio Date: Thu, 30 May 2019 11:25:05 +0200 Subject: [PATCH] Mark 1.14.2 Terrain as supported See #741 --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 70a09507..091b6f3e 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -34,7 +34,7 @@ namespace MinecraftClient.Protocol.Handlers internal const int MC1122Version = 340; internal const int MC113Version = 393; internal const int MC114Version = 477; - internal const int MC1141Version = 480; + internal const int MC1142Version = 485; private int compression_treshold = 0; private bool autocomplete_received = false; @@ -62,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 > MC1141Version) + if (handler.GetTerrainEnabled() && protocolversion > MC1142Version) { ConsoleIO.WriteLineFormatted("ยง8Terrain & Movements currently not handled for that MC version."); handler.SetTerrainEnabled(false); @@ -70,7 +70,7 @@ namespace MinecraftClient.Protocol.Handlers if (protocolversion >= MC113Version) { - if (protocolVersion > MC1141Version && handler.GetTerrainEnabled()) + if (protocolVersion > MC1142Version && handler.GetTerrainEnabled()) throw new NotImplementedException("Please update block types handling for this Minecraft version. See Material.cs"); if (protocolVersion >= MC114Version) Block.Palette = new Palette114();