From b9c3de04d61397e7c6255d7fcbf056cb21b6d837 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 六月 2022 19:10:59 +0800
Subject: [PATCH] 9535 【越南】服务器中心接口(媒体卡优化:增加支持平台直接调用使用媒体卡,增加使用结果返回;优化邮件内容配置,支持utf8格式配置,越南需用utf8)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
index 86d3fc1..453fcbe 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/SetWorldPos.py
@@ -22,6 +22,9 @@
 #  @remarks 函数详细说明.
 def OnExec(curPlayer, paramList):
     #输入命令格式错误
+    if not paramList:
+        GameWorld.DebugAnswer(curPlayer, "SetWorldPos mapID posX posY")
+        return
     mapID, posX, posY = paramList[:3]
     lineID = paramList[3] if len(paramList) > 3 else - 1
     if not mapID:

--
Gitblit v1.8.0