Main/System/KnapSack/Logic/ItemLogicUtility.cs
@@ -1392,18 +1392,19 @@ getItemEventName = ""; } public void UseItem(string guid, int useCnt = 1, int extra = 0) public bool UseItem(string guid, int useCnt = 1, int extra = 0) { var item = packModel.GetItemByGuid(guid); if (item == null) { return; return false; } var error = 0; if (CanUseItem(guid, useCnt, out error)) { UseItemSendServer(guid, useCnt, extra); return true; } else { @@ -1421,6 +1422,7 @@ default: break; } return false; } }