mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix scripts failing to send msg after reco
Script was using old disposed handler Fixed by properly updating reference Bug report by 1092CQ (thanks!)
This commit is contained in:
parent
314c5561ab
commit
24c4344a70
1 changed files with 3 additions and 1 deletions
|
|
@ -126,7 +126,9 @@ namespace MinecraftClient
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
foreach (ChatBot bot in scripts_on_hold) { bots.Add(bot); }
|
foreach (ChatBot bot in scripts_on_hold)
|
||||||
|
bot.SetHandler(this);
|
||||||
|
bots.AddRange(scripts_on_hold);
|
||||||
scripts_on_hold.Clear();
|
scripts_on_hold.Clear();
|
||||||
|
|
||||||
Console.WriteLine("Server was successfully joined.\nType '"
|
Console.WriteLine("Server was successfully joined.\nType '"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue