mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Faster AES, Packet Stream, more async changes
This commit is contained in:
parent
3b7c9c8510
commit
3a20f2e235
19 changed files with 1009 additions and 272 deletions
|
|
@ -369,9 +369,8 @@ namespace MinecraftClient
|
|||
if (ReconnectionAttemptsLeft > 0)
|
||||
{
|
||||
Log.Info(string.Format(Translations.mcc_reconnect, ReconnectionAttemptsLeft));
|
||||
Thread.Sleep(5000);
|
||||
ReconnectionAttemptsLeft--;
|
||||
Program.Restart();
|
||||
Program.Restart(5, announceDelay: false);
|
||||
}
|
||||
else if (InternalConfig.InteractiveMode)
|
||||
{
|
||||
|
|
@ -490,9 +489,8 @@ namespace MinecraftClient
|
|||
if (ReconnectionAttemptsLeft > 0)
|
||||
{
|
||||
Log.Info($"Reconnecting... Attempts left: {ReconnectionAttemptsLeft}");
|
||||
Thread.Sleep(5000);
|
||||
ReconnectionAttemptsLeft--;
|
||||
Program.Restart();
|
||||
Program.Restart(5, announceDelay: false);
|
||||
}
|
||||
else if (InternalConfig.InteractiveMode)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue