diff --git a/BondageClub/Screens/Room/Crafting/Crafting.js b/BondageClub/Screens/Room/Crafting/Crafting.js index 5216b59b75..2280663adb 100644 --- a/BondageClub/Screens/Room/Crafting/Crafting.js +++ b/BondageClub/Screens/Room/Crafting/Crafting.js @@ -969,8 +969,12 @@ function CraftingLoad() { // Re-enable previously disabled items if the player now owns them for (const item of Player.Crafting) { + if (item == null) { + continue; + } + const asset = CraftingAssets[item.Item]?.[0]; - if (item?.Disabled && asset && InventoryAvailable(Player, item.Name, asset.DynamicGroupName)) { + if (item.Disabled && asset && InventoryAvailable(Player, item.Name, asset.DynamicGroupName)) { delete item.Disabled; } }