mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Merge error handlers
- Merge all error handling code into one method - Fix ConsoleIO not clearing the line being typed upon reset - Update console title upon logging in to the server - Pass "failed to ping this IP" to AutoRelog (thx doranchak)
This commit is contained in:
parent
8b261894c8
commit
57c66c82d7
3 changed files with 81 additions and 80 deletions
|
|
@ -167,7 +167,7 @@ namespace MinecraftClient
|
|||
}
|
||||
else if (!singlecommand && Settings.interactiveMode)
|
||||
{
|
||||
Program.HandleOfflineMode();
|
||||
Program.HandleFailure();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -371,7 +371,7 @@ namespace MinecraftClient
|
|||
will_restart |= bot.OnDisconnect(reason, message);
|
||||
|
||||
if (!will_restart)
|
||||
Program.HandleOfflineMode();
|
||||
Program.HandleFailure();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue