From 1e6cef052d81f78ff9834e55d9b0dfa4e03fdf62 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 20 五月 2024 18:00:48 +0800
Subject: [PATCH] 0312 取名屏蔽被拒绝问题
---
ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddTitle.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddTitle.py b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddTitle.py
index 9454e82..5a4e596 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddTitle.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/GMT_AddTitle.py
@@ -33,6 +33,7 @@
playerFind = gmCmdDict.get(GMCommon.Def_GMKey_PlayerFind, '')
titleID = GameWorld.ToIntDef(gmCmdDict.get('titleID', ''), 0)
expireTime = GameWorld.ToIntDef(gmCmdDict.get('expireTime', ''), 0)
+ opType = gmCmdDict.get('opType', '')
if titleID <= 0:
GMCommon.GMCommandResult(orderId, gmCmdDict, GMCommon.Def_ParamErr)
@@ -60,7 +61,7 @@
return
isOnlineGMT = True # 是否是在线接收的GM工具命令
- GMCommon.GMTool_MapServer_Query(queryType, orderId, playerFind, gmCmdDict, "GMTAddTitle", [orderId, isOnlineGMT, titleID, expireTime], False)
+ GMCommon.GMTool_MapServer_Query(queryType, orderId, playerFind, gmCmdDict, "GMTAddTitle", [orderId, isOnlineGMT, titleID, expireTime, opType], False)
return
#def OnOfflineGMTInfo(curPlayer, tagMapID, gmCmdDict):
--
Gitblit v1.8.0