mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
https://github.com/ORelio/Minecraft-Console-Client/issues/427: TriggerOnLogin doesn't work when /reco
This commit is contained in:
parent
803532ce42
commit
aaf1e8311b
1 changed files with 3 additions and 0 deletions
|
|
@ -354,6 +354,9 @@ namespace MinecraftClient
|
|||
/// </summary>
|
||||
public void Disconnect()
|
||||
{
|
||||
foreach (ChatBot bot in bots)
|
||||
bot.OnDisconnect(ChatBot.DisconnectReason.ConnectionLost, "Disconnected");
|
||||
|
||||
botsOnHold.Clear();
|
||||
botsOnHold.AddRange(bots);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue