mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Allow 3.8.0 mods to load into 3.8.1 with warning
This commit is contained in:
parent
37ec7bc9d1
commit
ffbeefba6f
@ -348,12 +348,12 @@ export class PreAkiModLoader implements IModLoader
|
|||||||
return false;
|
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))
|
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;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user