From 72afa76c0e4b3df8feccc27164234bd2c5bd2769 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期日, 30 九月 2018 16:48:13 +0800
Subject: [PATCH] 4008 【后端】【主干】【1.0.18】装备位8,9,10的装备阶数对应最大洗炼等级与其他装备位分开配置
---
ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
index 7507d08..62c7c82 100644
--- a/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
+++ b/ServerPython/CoreServerGroup/GameServer/Script/Player/PlayerFriend.py
@@ -272,9 +272,10 @@
GameWorld.Log("JoinFriendAnswer -> 封包异常 ->玩家没有这个请求", playerID)
return
- if not clientData.Answer and srcPlayer:
- #XW_SJ_RefuseApply XXX拒绝把你加为好友
- PlayerControl.NotifyCode(srcPlayer, 'Friend_RejectFriend', [curPlayer.GetName()])
+ if not clientData.Answer:
+ if srcPlayer:
+ #XW_SJ_RefuseApply XXX拒绝把你加为好友
+ PlayerControl.NotifyCode(srcPlayer, 'Friend_RejectFriend', [curPlayer.GetName()])
return
# 黑名单检查
--
Gitblit v1.8.0