From 270f8d4364451a03a4b1bbd736cdb0b574f6b007 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期三, 22 五月 2019 10:41:13 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 Fight/ClientCollectUtility.cs |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/Fight/ClientCollectUtility.cs b/Fight/ClientCollectUtility.cs
index f068536..380d9f1 100644
--- a/Fight/ClientCollectUtility.cs
+++ b/Fight/ClientCollectUtility.cs
@@ -90,16 +90,13 @@
 
     public static void Init()
     {
-        NPCInteractProcessor.s_NpcInteractEvent -= HandleCallback;
-        NPCInteractProcessor.s_NpcInteractEvent += HandleCallback;
-
         WindowCenter.Instance.windowAfterOpenEvent -= CheckOpenCollectIcon;
         WindowCenter.Instance.windowAfterOpenEvent += CheckOpenCollectIcon;
         WindowCenter.Instance.windowAfterCloseEvent -= CheckCloseCollectIcon;
         WindowCenter.Instance.windowAfterCloseEvent += CheckCloseCollectIcon;
     }
 
-    private static void HandleCallback(E_NpcType type, int npcID, uint sid)
+    public static void HandleCallback(E_NpcType type, int npcID, uint sid)
     {
         var _hero = PlayerDatas.Instance.hero;
         if (_hero != null)
@@ -178,8 +175,6 @@
 
     public static void UnInit()
     {
-        NPCInteractProcessor.s_NpcInteractEvent -= HandleCallback;
-
         WindowCenter.Instance.windowAfterOpenEvent -= CheckOpenCollectIcon;
         WindowCenter.Instance.windowAfterCloseEvent -= CheckCloseCollectIcon;
     }

--
Gitblit v1.8.0