mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add an extra autorelog guard on HandleFailure
This commit is contained in:
parent
dc71332dd3
commit
f5c7a2801f
1 changed files with 5 additions and 0 deletions
|
|
@ -759,6 +759,11 @@ namespace MinecraftClient
|
|||
}
|
||||
}
|
||||
|
||||
if (disconnectReason.HasValue) {
|
||||
if (ChatBots.AutoRelog.OnDisconnectStatic(disconnectReason.Value, errorMessage!))
|
||||
return; //AutoRelog is triggering a restart of the client, don't turn on the offline prompt
|
||||
}
|
||||
|
||||
if (offlinePrompt == null)
|
||||
{
|
||||
ConsoleInteractive.ConsoleReader.StopReadThread();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue