Allow 3.8.0 mods to load into 3.8.1 with warning

This commit is contained in:
Dev 2024-04-15 14:12:16 +01:00
parent 37ec7bc9d1
commit ffbeefba6f

View File

@ -348,12 +348,12 @@ export class PreAkiModLoader implements IModLoader
return false;
}
// Error and prevent loading if semver is not satisfied
// Warning and allow loading if semver is not satisfied
if (!semver.satisfies(akiVersion, mod.akiVersion))
{
this.logger.error(this.localisationService.getText("modloader-outdated_akiversion_field", modName));
this.logger.warning(this.localisationService.getText("modloader-outdated_akiversion_field", modName));
return false;
return true;
}
return true;