上传任务修改

This commit is contained in:
liwei1dao 2023-05-26 20:29:08 +08:00
parent 4b23e35bea
commit c991176089

View File

@ -125,7 +125,7 @@ func (this *Smithy) SendRdTask(session comm.IUserSession, Items []*pb.UserAtno)
equip = make(map[int32]int32, 0)
tasks := make([]*comm.TaskParam, 0)
for _, v := range Items {
if cfg := this.configure.GetEquipmentConfigureById(v.T); cfg == nil {
if cfg := this.configure.GetEquipmentConfigureById(v.T); cfg != nil {
equip[cfg.Star]++
}
}