From 29e134ddd2a02e5525e2d2ac66d0a2880db9ebcd Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 5 Apr 2025 20:47:44 +0200 Subject: [PATCH] chore: remove /Lotus/Types/Recipes/ from path-based logic Both recipes & MiscItems (recipe components) start with this. --- src/services/inventoryService.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index 4a711c6c..9a841453 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -673,17 +673,6 @@ export const addItem = async ( Horses: [inventory.Horses[horseIndex - 1].toJSON()] }; } - case "Recipes": { - inventory.MiscItems.push({ ItemType: typeName, ItemCount: quantity }); - return { - MiscItems: [ - { - ItemType: typeName, - ItemCount: quantity - } - ] - }; - } case "Vehicles": if (typeName == "/Lotus/Types/Vehicles/Motorcycle/MotorcyclePowerSuit") { return addMotorcycle(inventory, typeName);