From 17fae2cebdd681ae0ed8d9cec80641e591f3d9fd Mon Sep 17 00:00:00 2001 From: liuzujun Date: Thu, 30 Sep 2021 15:26:29 +0800 Subject: [PATCH] 正式服屏蔽gm指令 --- src/actions/GmAction.lua | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index d4f3a35..cba6b6a 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -5,6 +5,10 @@ function _M.clientRequest(agent, data) local role = agent.role local action = _M[msg.cmd] local bin = MsgPack.pack({ cmd = "指令失败" }) + if true then + SendPacket(actionCodes.Gm_receiveResponse, bin) + return true + end if not action then SendPacket(actionCodes.Gm_receiveResponse, bin) return true -- libgit2 0.21.2