mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix uninitialized AutoRelog for static errors
Kick message list wasn't loaded. Bug report by Cat7373 Fixes issue #134
This commit is contained in:
parent
75bbeb0b4b
commit
56d2c201f9
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ namespace MinecraftClient.ChatBots
|
||||||
if (Settings.AutoRelog_Enabled)
|
if (Settings.AutoRelog_Enabled)
|
||||||
{
|
{
|
||||||
AutoRelog bot = new AutoRelog(Settings.AutoRelog_Delay, Settings.AutoRelog_Retries);
|
AutoRelog bot = new AutoRelog(Settings.AutoRelog_Delay, Settings.AutoRelog_Retries);
|
||||||
|
bot.Initialize();
|
||||||
return bot.OnDisconnect(reason, message);
|
return bot.OnDisconnect(reason, message);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue