From 23ea42402c8ccae07af6fabf038785269d4f4b73 Mon Sep 17 00:00:00 2001 From: Vampire Kitten Date: Mon, 10 Jun 2024 21:31:41 +0200 Subject: [PATCH] Fixed Typo in config.json Fixed a typo in unlockAllShipFeatures in config.json and other needed files. --- config.json.example | 2 +- src/controllers/api/getShipController.ts | 2 +- src/services/configService.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.json.example b/config.json.example index c3a7eddd..e874d450 100644 --- a/config.json.example +++ b/config.json.example @@ -16,7 +16,7 @@ "unlockAllQuests": true, "completeAllQuests": false, "infiniteResources": true, - "unlockallShipFeatures": true, + "unlockAllShipFeatures": true, "unlockAllShipDecorations": true, "unlockAllFlavourItems": true, "unlockAllSkins": true, diff --git a/src/controllers/api/getShipController.ts b/src/controllers/api/getShipController.ts index f0ba4468..65483101 100644 --- a/src/controllers/api/getShipController.ts +++ b/src/controllers/api/getShipController.ts @@ -31,7 +31,7 @@ export const getShipController: RequestHandler = async (req, res) => { Apartment: personalRooms.Apartment }; - if (config.unlockallShipFeatures) { + if (config.unlockAllShipFeatures) { getShipResponse.Ship.Features = allShipFeatures; } diff --git a/src/services/configService.ts b/src/services/configService.ts index b70e24df..e5199a3c 100644 --- a/src/services/configService.ts +++ b/src/services/configService.ts @@ -14,7 +14,7 @@ interface IConfig { unlockAllQuests?: boolean; completeAllQuests?: boolean; infiniteResources?: boolean; - unlockallShipFeatures?: boolean; + unlockAllShipFeatures?: boolean; unlockAllShipDecorations?: boolean; unlockAllFlavourItems?: boolean; unlockAllSkins?: boolean; -- 2.47.2