From 540eb7d6cd9bb438f8744b98d97c7b6a65b7e753 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 21 五月 2019 17:15:11 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
---
System/FriendSystem/AddCell.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/FriendSystem/AddCell.cs b/System/FriendSystem/AddCell.cs
index 258d50e..28ef5e2 100644
--- a/System/FriendSystem/AddCell.cs
+++ b/System/FriendSystem/AddCell.cs
@@ -45,7 +45,7 @@
lvText.text = friendPlayer.LV.ToString();
}
RealmConfig realmModel = RealmConfig.Get(friendPlayer.RealmLV);
- if (friendPlayer.RealmLV != 0)
+ if (friendPlayer.RealmLV > 0 && RealmConfig.Has(friendPlayer.RealmLV))
{
realmIcon.gameObject.SetActive(true);
realmIcon.SetSprite(realmModel.Img);
--
Gitblit v1.8.0