From 68a9a5b0647849029508a3ba82191d916f7cb4d5 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Mon, 17 Aug 2020 16:06:14 +0800 Subject: [PATCH] Add back protocol version checking for entity handling Was removed during testing and forgot to add it back --- MinecraftClient/Protocol/Handlers/Protocol18.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Protocol/Handlers/Protocol18.cs b/MinecraftClient/Protocol/Handlers/Protocol18.cs index 00f9cc68..ba5ad8f5 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -85,7 +85,7 @@ namespace MinecraftClient.Protocol.Handlers handler.SetInventoryEnabled(false); } - if (handler.GetEntityHandlingEnabled() && (protocolversion < MC110Version)) + if (handler.GetEntityHandlingEnabled() && (protocolversion < MC110Version || protocolversion > MC1162Version)) { ConsoleIO.WriteLineFormatted("ยง8Entities are currently not handled for that MC version."); handler.SetEntityHandlingEnabled(false);