From 0be2d6f2947fe9f3573841aee07dde4b9f4211b9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 19 九月 2024 16:39:21 +0800
Subject: [PATCH] 10267 【越南】【英文】【砍树】优化GivePlayerItemOrMail,防范列表元素包含None报错;
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRequest.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRequest.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRequest.py
index f0db17a..9364f66 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRequest.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerRequest.py
@@ -116,7 +116,8 @@
PyGameData.g_playerRequests[curTagPlayerID][(curPlayer.GetID(), requestType)] = [curPlayer.GetName(),
curPlayer.GetLV(),
curPlayer.GetOfficialRank(),
- curPlayer.GetFace()]
+ curPlayer.GetFace(),
+ curPlayer.GetFacePic()]
return
@@ -159,6 +160,7 @@
askFriendPack.LV = playerInfo[1]
askFriendPack.RealmLV = playerInfo[2]
askFriendPack.Face = playerInfo[3]
+ askFriendPack.FacePic = playerInfo[4]
NetPackCommon.SendFakePack(curPlayer, askFriendPack)
return
--
Gitblit v1.8.0