This commit is contained in:
TheSnoozer 2019-09-22 13:56:59 +02:00 committed by ORelio
parent 803532ce42
commit aaf1e8311b

View file

@ -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);