chore: remove /Lotus/Types/Recipes/ from path-based logic (#1475)

Both recipes & MiscItems (recipe components) start with this.

Reviewed-on: OpenWF/SpaceNinjaServer#1475
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
Sainan 2025-04-06 06:04:16 -07:00 committed by Sainan
parent 2bdb722986
commit 5f6b2330af

View File

@ -673,17 +673,6 @@ export const addItem = async (
Horses: [inventory.Horses[horseIndex - 1].toJSON<IEquipmentClient>()]
};
}
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);