From b85dca8f60b75cef8ba6a0b316bee7872bc87778 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 17 六月 2022 19:50:30 +0800
Subject: [PATCH] 5348 【主干】【bt7】【yn_1.0.1】【yn_ver1】 获得途径未知物品没有记录流向

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
index f0289f4..46dd206 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/UseItem/ItemCommon.py
@@ -1010,6 +1010,11 @@
             eventName = ChConfig.ItemGiveTypeDict[operateType]
     else:
         operateType = ChConfig.ItemGive_Unknown
+        if not eventName and operateType in ChConfig.ItemGiveTypeDict:
+            eventName = ChConfig.ItemGiveTypeDict[operateType]
+            
+    if not eventName:
+        eventName = "Unknown"
         
     # 本地流向只记录有事件名称的
     if eventName:

--
Gitblit v1.8.0