From 2df58aeacbf1177ec01167bdeccfe89d6a8d5804 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期三, 13 二月 2019 14:20:28 +0800
Subject: [PATCH] 3335 配置表读取重构,修改配置表读取接口1

---
 System/Chat/ChatSendComponent.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/System/Chat/ChatSendComponent.cs b/System/Chat/ChatSendComponent.cs
index 8226fad..a1e0632 100644
--- a/System/Chat/ChatSendComponent.cs
+++ b/System/Chat/ChatSendComponent.cs
@@ -192,7 +192,7 @@
                 {
                     Match match = matchArray[m];
                     ItemModel itemModel = ChatCtrl.Inst.itemPlaceList[i];
-                    ItemConfig cfg = Config.Instance.Get<ItemConfig>((int)itemModel.itemInfo.ItemID);
+                    ItemConfig cfg = ItemConfig.Get((int)itemModel.itemInfo.ItemID);
                     if (cfg.ItemName != match.Groups[1].Value)
                     {
                         ChatCtrl.Inst.itemPlaceList.RemoveAt(i);

--
Gitblit v1.8.0