From ddcc9ee8e65632fbab84a194efc65d5cffd6b9f8 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Tue, 31 Mar 2020 20:42:13 +0800 Subject: [PATCH] Fix EntityHandling not disabled when version unsupported --- 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 29ee3fe4..6800769f 100644 --- a/MinecraftClient/Protocol/Handlers/Protocol18.cs +++ b/MinecraftClient/Protocol/Handlers/Protocol18.cs @@ -76,7 +76,7 @@ namespace MinecraftClient.Protocol.Handlers handler.SetInventoryEnabled(false); } - if(handler.GetEntityHandlingEnabled() && protocolversion < MC1122Version) + if(handler.GetEntityHandlingEnabled() && protocolversion <= MC1122Version) { ConsoleIO.WriteLineFormatted("ยง8Entities are currently not handled for that MC version."); handler.SetEntityHandlingEnabled(false);