From f0f24cf4e1e32f60c0c8b735c869ca8a6eddc41c Mon Sep 17 00:00:00 2001 From: meixiongfeng <766881921@qq.com> Date: Sat, 7 Oct 2023 11:01:30 +0800 Subject: [PATCH] =?UTF-8?q?gm=20=E5=8A=A0=E7=A7=B0=E5=8F=B7=E6=A0=87?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/gm/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gm/module.go b/modules/gm/module.go index cd0ad036c..b7822ab90 100644 --- a/modules/gm/module.go +++ b/modules/gm/module.go @@ -75,7 +75,7 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (errdata *pb.Er if keys[0] == "bingo" { this.Debugf("create CMD :%s", cmd) // 打印个日志方便查询 datas := strings.Split(keys[1], ",") - if len(datas) == 3 && (datas[0] == comm.AttrType || datas[0] == comm.ItemType || + if len(datas) == 3 && (comm.TitleType == datas[0] || datas[0] == comm.AttrType || datas[0] == comm.ItemType || datas[0] == comm.HeroType || datas[0] == comm.EquipmentType || datas[0] == comm.VipType || datas[0] == comm.AtlasType || datas[0] == comm.PandaType || datas[0] == comm.MountsType) { num, err := strconv.Atoi(datas[2]) if err != nil {