From 7e1ca9f7b5051ae36451a6b7bf675721c2cf6faa Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Thu, 30 Mar 2023 20:50:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=9E=E6=94=B6=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/equipment/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/equipment/module.go b/modules/equipment/module.go index 33a527f58..63f373f96 100644 --- a/modules/equipment/module.go +++ b/modules/equipment/module.go @@ -260,7 +260,7 @@ func (this *Equipment) RecycleEquipments(session comm.IUserSession, equs []strin code = pb.ErrorCode_EquipmentNoCanSell return } - if sellconf, err = this.configure.getSellcoefficient(int32(len(v.AdverbEntry))); err != nil { + if sellconf, err = this.configure.getSellcoefficient(int32(len(v.AdverbEntry) + 1)); err != nil { this.Errorln(err) code = pb.ErrorCode_ConfigNoFound return