mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Ignore user testing opt-in for manifest eligibility check
This commit is contained in:
parent
d1fbee2829
commit
8edbc0ee78
1 changed files with 12 additions and 3 deletions
|
|
@ -1193,9 +1193,18 @@ internal class PluginManager : IInternalDisposableService
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// API level - we keep the API before this in the installer to show as "outdated"
|
// API level - we keep the API before this in the installer to show as "outdated"
|
||||||
var effectiveApiLevel = this.UseTesting(manifest) && manifest.TestingDalamudApiLevel != null ? manifest.TestingDalamudApiLevel.Value : manifest.DalamudApiLevel;
|
if (!this.LoadAllApiLevels)
|
||||||
if (effectiveApiLevel < DalamudApiLevel - 1 && !this.LoadAllApiLevels)
|
{
|
||||||
return false;
|
var effectiveDalamudApiLevel =
|
||||||
|
this.CanUseTesting(manifest) &&
|
||||||
|
manifest.TestingDalamudApiLevel.HasValue &&
|
||||||
|
manifest.TestingDalamudApiLevel.Value > manifest.DalamudApiLevel
|
||||||
|
? manifest.TestingDalamudApiLevel.Value
|
||||||
|
: manifest.DalamudApiLevel;
|
||||||
|
|
||||||
|
if (effectiveDalamudApiLevel < PluginManager.DalamudApiLevel - 1)
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Banned
|
// Banned
|
||||||
if (this.IsManifestBanned(manifest))
|
if (this.IsManifestBanned(manifest))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue