Merge pull request #2469 from Haselnussbomber/nullcheck-TestingDalamudApiLevel

Require TestingDalamudApiLevel to be set for testing
This commit is contained in:
goat 2025-11-25 18:53:22 +01:00 committed by GitHub
commit 8773964de9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -362,6 +362,9 @@ internal class PluginManager : IInternalDisposableService
if (!this.configuration.DoPluginTest) if (!this.configuration.DoPluginTest)
return false; return false;
if (!manifest.TestingDalamudApiLevel.HasValue)
return false;
return manifest.IsTestingExclusive || manifest.IsAvailableForTesting; return manifest.IsTestingExclusive || manifest.IsAvailableForTesting;
} }