From b19d0746c414efd9d01245e8b94c5141db2b8ac3 Mon Sep 17 00:00:00 2001 From: bananarama92 <bananarama921@outlook.com> Date: Fri, 28 Mar 2025 17:20:10 +0100 Subject: [PATCH] BUG: Fix `InventoryCraft()` failing to apply certain item properties for non-extended items --- BondageClub/Scripts/Inventory.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BondageClub/Scripts/Inventory.js b/BondageClub/Scripts/Inventory.js index 1ef3c7ad77..5c945456e0 100644 --- a/BondageClub/Scripts/Inventory.js +++ b/BondageClub/Scripts/Inventory.js @@ -715,6 +715,8 @@ function InventoryCraft(Source, Target, GroupName, Craft, Refresh, PreConfigureI Target, Item, Craft.TypeRecord, { push: false, refresh: false, C_Source: Source, properties: Craft.ItemProperty }, ); + } else { + Object.assign(Item.Property, Craft.ItemProperty ?? {}); } // Applies a lock to the item