mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
parent
6ac3cd90ee
commit
96eda73dce
1 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
internal const int MC1122Version = 340;
|
internal const int MC1122Version = 340;
|
||||||
internal const int MC113Version = 393;
|
internal const int MC113Version = 393;
|
||||||
internal const int MC114Version = 477;
|
internal const int MC114Version = 477;
|
||||||
internal const int MC1142Version = 485;
|
internal const int MC1144Version = 498;
|
||||||
|
|
||||||
private int compression_treshold = 0;
|
private int compression_treshold = 0;
|
||||||
private bool autocomplete_received = false;
|
private bool autocomplete_received = false;
|
||||||
|
|
@ -62,7 +62,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
this.pForge = new Protocol18Forge(forgeInfo, protocolVersion, dataTypes, this, handler);
|
this.pForge = new Protocol18Forge(forgeInfo, protocolVersion, dataTypes, this, handler);
|
||||||
this.pTerrain = new Protocol18Terrain(protocolVersion, dataTypes, handler);
|
this.pTerrain = new Protocol18Terrain(protocolVersion, dataTypes, handler);
|
||||||
|
|
||||||
if (handler.GetTerrainEnabled() && protocolversion > MC1142Version)
|
if (handler.GetTerrainEnabled() && protocolversion > MC1144Version)
|
||||||
{
|
{
|
||||||
ConsoleIO.WriteLineFormatted("§8Terrain & Movements currently not handled for that MC version.");
|
ConsoleIO.WriteLineFormatted("§8Terrain & Movements currently not handled for that MC version.");
|
||||||
handler.SetTerrainEnabled(false);
|
handler.SetTerrainEnabled(false);
|
||||||
|
|
@ -76,7 +76,7 @@ namespace MinecraftClient.Protocol.Handlers
|
||||||
|
|
||||||
if (protocolversion >= MC113Version)
|
if (protocolversion >= MC113Version)
|
||||||
{
|
{
|
||||||
if (protocolVersion > MC1142Version && handler.GetTerrainEnabled())
|
if (protocolVersion > MC1144Version && handler.GetTerrainEnabled())
|
||||||
throw new NotImplementedException("Please update block types handling for this Minecraft version. See Material.cs");
|
throw new NotImplementedException("Please update block types handling for this Minecraft version. See Material.cs");
|
||||||
if (protocolVersion >= MC114Version)
|
if (protocolVersion >= MC114Version)
|
||||||
Block.Palette = new Palette114();
|
Block.Palette = new Palette114();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue