From 5079cb7de069679add33b70f99e026cff7316cbd Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期四, 20 十一月 2025 22:27:12 +0800
Subject: [PATCH] 262 幻境阁系统-客户端 修复物品图标和称号显示bug

---
 Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs b/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
index 5b25466..418a325 100644
--- a/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
+++ b/Main/System/PhantasmPavilion/PhantasmPavilionUnlockButton.cs
@@ -54,8 +54,7 @@
 
             if (!ItemConfig.HasKey(unlockValue))
                 return;
-            ItemConfig itemConfig = ItemConfig.Get(unlockValue);
-            imgItem.SetSprite(itemConfig.IconKey);
+            imgItem.SetItemSprite(unlockValue);
 
             var hasCnt = PackManager.Instance.GetItemCountByID(PackType.Item, unlockValue);
             int useCnt = manager.GetUnlockNeedCnt(type, id);

--
Gitblit v1.8.0