From c99117608964cd0b8a5680e2ef60ea06de278f9d Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Fri, 26 May 2023 20:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BB=BB=E5=8A=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/smithy/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/smithy/module.go b/modules/smithy/module.go index 7b33634f8..537a761d6 100644 --- a/modules/smithy/module.go +++ b/modules/smithy/module.go @@ -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]++ } }