hch
2025-07-04 b0326592b8124fddd28a35e40d37f9415cd3119f
Main/System/KnapSack/PackManager.cs
@@ -354,6 +354,11 @@
            if (singlePack != null)
            {
                ItemModel itemModel = singlePack.GetItemByIndex(clearItem.ItemIndex);
            if (itemModel == null)
            {
                Debug.LogErrorFormat("删除不存在的物品索引:{0}", clearItem.ItemIndex);
                return;
            }
                guid = itemModel.guid;
                int itemId = itemModel.itemId;