Fix #1018 (ThreadAbortException)

This commit is contained in:
ORelio 2020-05-24 19:57:32 +02:00
parent b2bcfca8ec
commit 4362de4540
2 changed files with 2 additions and 2 deletions

View file

@ -90,7 +90,7 @@ namespace MinecraftClient.Protocol
{
if (protocolversion != 0 && protocolversion != protocolversionTmp)
ConsoleIO.WriteLineFormatted("§8Server reports a different version than manually set. Login may not work.");
if (protocolversion == 0 && protocolversionTmp == 0)
if (protocolversion == 0 && protocolversionTmp <= 1)
ConsoleIO.WriteLineFormatted("§8Server does not report its protocol version, autodetection will not work.");
if (protocolversion == 0)
protocolversion = protocolversionTmp;