From fc14c2a4677c439d3186222bdae46342c2f1b5f6 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Thu, 9 Jan 2025 17:54:05 +0800 Subject: [PATCH] =?UTF-8?q?modify=20=E6=8E=A8=E5=B8=81=E6=9C=BA=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_pushcoin.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/worldsrv/action_pushcoin.go b/worldsrv/action_pushcoin.go index 2cb4ec5..a7b7f30 100644 --- a/worldsrv/action_pushcoin.go +++ b/worldsrv/action_pushcoin.go @@ -185,10 +185,10 @@ func CSPushCoinPlayerOp(s *netlib.Session, packetid int, data interface{}, sid i id = common.ItemIDCoin } - if p.WelfData.PushCoin.Items[id] < val { - logger.Logger.Errorf("获得道具太多: %d, %d", p.WelfData.PushCoin.Items[id], val) - goto here - } + //if p.WelfData.PushCoin.Items[id] < val { + // logger.Logger.Errorf("获得道具太多: %d, %d", p.WelfData.PushCoin.Items[id], val) + // goto here + //} BagMgrSingleton.AddItems(&model.AddItemParam{ Platform: p.Platform,