This commit is contained in:
cdle
2023-06-11 23:07:10 +08:00
parent 99dc6425ca
commit 568953503a
+2 -2
View File
@@ -172,8 +172,8 @@ func (f *Factory) Init(botplt, botid string) {
f.demo = &CustomSender{
f: f,
}
if v, ok := Bots[[2]string{botplt, botid}]; ok {
go v.Destroy()
if _, ok := Bots[[2]string{botplt, botid}]; ok {
// go v.Destroy()
console.Warn("%s机器人%s因冲突销毁!", botplt, botid)
}
Bots[[2]string{botplt, botid}] = f