Update McClient.cs

This commit is contained in:
xiaoze_qwq_ 2026-08-28 12:10:38 +08:00 committed by GitHub
parent 92ee61b3ce
commit 89231ef16b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -439,7 +439,7 @@ namespace MinecraftClient
// Backup current bots before unloading, so they can be restored after successful transfer.
if (botsOnHold.Count == 0 && bots.Count > 0)
{
botsOnHold.AddRange(bots.Where(bot => bot.ScriptOwnerKey is null)); // 保持一致过滤
botsOnHold.AddRange(bots.Where(bot => bot.ScriptOwnerKey is null));
}
// Unload bots