mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Revert "Revert "♻️ Undo Terrain Handling update""
This reverts commit 2d2b1e95cb.
This commit is contained in:
parent
2d2b1e95cb
commit
e0aba29b7a
2 changed files with 73 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue