Merge branch 'MCCTeam:master' into master

This commit is contained in:
Anon 2022-06-28 10:43:13 +00:00 committed by GitHub
commit 3ea109b330
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 1154 additions and 384 deletions

View file

@ -51,7 +51,7 @@ namespace MinecraftClient.Protocol.Handlers
public PacketTypePalette GetTypeHandler(int protocol)
{
PacketTypePalette p;
if (protocol > Protocol18Handler.MC1181Version)
if (protocol > Protocol18Handler.MC1182Version)
throw new NotImplementedException(Translations.Get("exception.palette.packet"));
if (protocol <= Protocol18Handler.MC18Version)
p = new PacketPalette17();

View file

@ -53,6 +53,7 @@ namespace MinecraftClient.Protocol.Handlers
internal const int MC117Version = 755;
internal const int MC1171Version = 756;
internal const int MC1181Version = 757;
internal const int MC1182Version = 758;
private int compression_treshold = 0;
private bool autocomplete_received = false;