From 96c0ba31f74064e59c746921fcd1386cddf78d42 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 12 六月 2025 18:26:49 +0800
Subject: [PATCH] 121 【武将】武将系统-服务端(武将锁定、解锁;)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py |   10 +++++-----
 1 files changed, 5 insertions(+), 5 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 4b2cec1..2700dd6 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ItemControler.py
@@ -1661,11 +1661,11 @@
     if endIndex == 0:
         endIndex = curPack.GetCount() - 1
     #检查是否能整理
-    for i in range(0, curPack.GetCount()):
-        curItem = curPack.GetAt(i)
-        if curItem.GetIsLocked():
-            #GameWorld.Log("物品有锁, 不允许重整")
-            return
+    #for i in range(0, curPack.GetCount()):
+    #    curItem = curPack.GetAt(i)
+    #    if curItem.GetIsLocked():
+    #        #GameWorld.Log("物品有锁, 不允许重整")
+    #        return
     
     # 整理方式不同区分
     if packIndex == ShareDefine.rptHero:

--
Gitblit v1.8.0