Revert "Revert "♻️ Undo Terrain Handling update""

This reverts commit 2d2b1e95cb.
This commit is contained in:
Bas950 2020-06-28 02:17:11 +02:00
parent 2d2b1e95cb
commit e0aba29b7a
2 changed files with 73 additions and 4 deletions

View file

@ -69,7 +69,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 > MC1161Version)
if (handler.GetTerrainEnabled() && protocolversion > MC1152Version)
{
ConsoleIO.WriteLineFormatted("§8Terrain & Movements currently not handled for that MC version.");
handler.SetTerrainEnabled(false);
@ -89,7 +89,7 @@ namespace MinecraftClient.Protocol.Handlers
if (protocolversion >= MC113Version)
{
if (protocolVersion > MC1161Version && handler.GetTerrainEnabled())
if (protocolVersion > MC1152Version && handler.GetTerrainEnabled())
throw new NotImplementedException("Please update block types handling for this Minecraft version. See Material.cs");
if (protocolVersion >= MC115Version)
Block.Palette = new Palette115();