From b167e639341a1fe18e770aaaa1e688d57984293e Mon Sep 17 00:00:00 2001 From: Trap Date: Thu, 12 Dec 2024 00:15:48 +0100 Subject: [PATCH] fix: vanilla_exfils_requirements is now forbidden by config analysis --- src/config-analysis.ts | 5 +++++ src/path-to-tarkov-controller.ts | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config-analysis.ts b/src/config-analysis.ts index 73794904..0b103b21 100644 --- a/src/config-analysis.ts +++ b/src/config-analysis.ts @@ -308,6 +308,11 @@ export const analyzeConfig = (config: Config, spawnConfig: SpawnConfig): ConfigV // 8. check for additional spawnpoints errors.push(...getErrorsForAdditionalSpawnpoints(config)); + // 9. check for usage of "vanilla_exfils_requirements" + if (config.vanilla_exfils_requirements) { + errors.push('"vanilla_exfils_requirements" is no longer supported since version 6'); + } + return { errors, warnings, diff --git a/src/path-to-tarkov-controller.ts b/src/path-to-tarkov-controller.ts index d9ccbcb1..f32e001f 100644 --- a/src/path-to-tarkov-controller.ts +++ b/src/path-to-tarkov-controller.ts @@ -568,11 +568,6 @@ export class PathToTarkovController { return; } - // TODO: move this into config-analysis - if (config.vanilla_exfils_requirements) { - this.logger.warning('Path To Tarkov: "vanilla_exfils_requirements" is no longer supported'); - } - // TODO(refactor): implement an indexBy util const indexedExits = locationBase.exits.reduce>( (indexed, exit) => {