x
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user