Add back protocol version checking for entity handling

Was removed during testing and forgot to add it back
This commit is contained in:
ReinforceZwei 2020-08-17 16:06:14 +08:00
parent 94295e028d
commit 68a9a5b064

View file

@ -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);