From 605905c88072599cd9e9dbb03c75e3482ef3970d Mon Sep 17 00:00:00 2001 From: nrbdev Date: Thu, 20 Feb 2025 05:58:14 -0500 Subject: [PATCH] moved --- src/controllers/api/giveStartingGear.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/controllers/api/giveStartingGear.ts b/src/controllers/api/giveStartingGear.ts index cbc7ebae..14aff5f3 100644 --- a/src/controllers/api/giveStartingGear.ts +++ b/src/controllers/api/giveStartingGear.ts @@ -20,11 +20,6 @@ export const giveStartingGearController: RequestHandler = async (req, res) => { const dataJSON = getJSONfromString(String(req.body)); - await addKeyChainItems(inventory, { - KeyChain: "/Lotus/Types/Keys/VorsPrize/VorsPrizeQuestKeyChain", - ChainStage: 0 - }); - for (const key of Object.keys(dataJSON) as Array) { switch (key) { // This is the only gear we receive as the rest will come from future quests @@ -49,6 +44,11 @@ export const giveStartingGearController: RequestHandler = async (req, res) => { } } + await addKeyChainItems(inventory, { + KeyChain: "/Lotus/Types/Keys/VorsPrize/VorsPrizeQuestKeyChain", + ChainStage: 0 + }); + addConsumables(inventory, [{ ItemCount: 1, ItemType: "/Lotus/Types/Restoratives/LisetAutoHack" }]); if (!config.unlockAllFlavourItems) { inventory.FlavourItems.push([