From 5a083f5b13bd16d1bdb28ff2ef428c72f6aaa2e9 Mon Sep 17 00:00:00 2001 From: Vampire Kitten <95658710+VampireKitten@users.noreply.github.com> Date: Tue, 11 Jun 2024 12:56:51 +0200 Subject: [PATCH] Fixed Typo in config.json (#291) --- 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;