From c97f6f194568c84aa4f351f9bf7c06ed66130c00 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Mon, 14 Sep 2020 22:02:26 +0800 Subject: [PATCH] Fix mistake made in upgrading 1.16.3 --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 83cbe158..5a8a5807 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -115,7 +115,7 @@ namespace MinecraftClient.Protocol.Handlers { if (protocolversion > MC1163Version && handler.GetEntityHandlingEnabled()) throw new NotImplementedException("Please update entity types handling for this Minecraft version. See EntityType.cs"); - if (protocolversion >= MC1163Version) + if (protocolversion >= MC1162Version) entityPalette = new EntityPalette1162(); else if (protocolversion >= MC116Version) entityPalette = new EntityPalette1161(); @@ -132,7 +132,7 @@ namespace MinecraftClient.Protocol.Handlers { if (protocolversion > MC1163Version && handler.GetInventoryEnabled()) throw new NotImplementedException("Please update item types handling for this Minecraft version. See ItemType.cs"); - if (protocolversion >= MC1163Version) + if (protocolversion >= MC1162Version) itemPalette = new ItemPalette1162(); else itemPalette = new ItemPalette1161(); }