mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Update to 1.17.1 (#1672)
This commit is contained in:
parent
48577bf034
commit
029762e0a9
4 changed files with 8 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
public PacketTypePalette GetTypeHandler(int protocol)
|
||||
{
|
||||
PacketTypePalette p;
|
||||
if (protocol > Protocol18Handler.MC117Version)
|
||||
if (protocol > Protocol18Handler.MC1171Version)
|
||||
throw new NotImplementedException(Translations.Get("exception.palette.packet"));
|
||||
if (protocol <= Protocol18Handler.MC18Version)
|
||||
p = new PacketPalette17();
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
internal const int MC1163Version = 753;
|
||||
internal const int MC1165Version = 754;
|
||||
internal const int MC117Version = 755;
|
||||
internal const int MC1171Version = 756;
|
||||
|
||||
private int compression_treshold = 0;
|
||||
private bool autocomplete_received = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue