From 1832ad09ddd6d8337e2c902c75cd352b6fc60abd Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Fri, 19 Jan 2024 10:01:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A0=E5=A4=BA=E6=8A=A5=E9=94=99=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/plunder/model_land.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plunder/model_land.go b/modules/plunder/model_land.go index 07fb87b36..e860034a2 100644 --- a/modules/plunder/model_land.go +++ b/modules/plunder/model_land.go @@ -95,7 +95,7 @@ func (this *modelLand) createPlunderLandData(uid string) (land *pb.DBPlunderLand if users, err = this.module.ModuleUser.GetUsers(curUids); err == nil { for _, v := range users { uInfos = append(uInfos, comm.GetUserBaseInfo(v)) - if len(land.Uinfo) > 20 { + if len(uInfos) > 20 { break } }