From a0675393eb85910110ce5a081c41bc8299ad529d Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 11 十月 2018 14:00:36 +0800
Subject: [PATCH] 2126 【主干】【1.0.18】GM后台封锁解锁IP报错
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
index d572f68..39200a5 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1303,6 +1303,9 @@
GameWorld.Log("策划填表错误 %s -> maxPackCount = %s" % (curItemID , maxPackCount))
return False, 0
+ # 特殊处理不同的物品放入不同的背包,如神兽背包
+ packIndex = ChConfig.GetItemPackType(curItemData.GetType(), packIndex)
+
maxCanPutItem = 0
curPlayer = self.__Player
# 虚拟背包
--
Gitblit v1.8.0