This commit is contained in:
hahwu 2025-11-07 17:51:30 +08:00
parent e229ab8f98
commit 2b816c3370

View File

@ -566,6 +566,11 @@ func FriendLogBackData(p *Player) {
var reply []*proto.ResFriendReply
for _, v := range FriendMod.ReplyList {
ps := G_GameLogicPtr.GetResSimplePlayerByUid(v.Uid)
if ps == nil {
ps = &proto.ResPlayerSimple{
Uid: int64(v.Uid),
}
}
reply = append(reply, &proto.ResFriendReply{
Player: ps,
Type: int32(v.Type),