From e75e1b9182a6872108a9cf397d4d9c1ed3afda50 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 22 五月 2019 09:31:38 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master' into HazyRegion_1

---
 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