diff --git a/src/controllers/api/setBootLocationController.ts b/src/controllers/api/setBootLocationController.ts index 4b1b3bc5..1baa5daa 100644 --- a/src/controllers/api/setBootLocationController.ts +++ b/src/controllers/api/setBootLocationController.ts @@ -16,8 +16,8 @@ export const setBootLocationController: RequestHandler = async (req, res) => { const inventory = await getInventory(accountId); if (inventory.Motorcycles.length == 0) { inventory.Motorcycles.push({ ItemType: "/Lotus/Types/Vehicles/Motorcycle/MotorcyclePowerSuit" }); + await inventory.save(); } - await inventory.save(); } res.end();