feat(PluginManager): add switch to allow for loading plugins of all API levels

This commit is contained in:
goat 2021-07-12 12:00:19 +02:00
parent 3274bd047d
commit 1e33b7deb5
No known key found for this signature in database
GPG key ID: F18F057873895461
4 changed files with 15 additions and 2 deletions

View file

@ -765,7 +765,7 @@ namespace Dalamud.Plugin.Internal
return false;
// API level
if (manifest.DalamudApiLevel < DalamudApiLevel)
if (manifest.DalamudApiLevel < DalamudApiLevel && !this.dalamud.Configuration.LoadAllApiLevels)
return false;
// Banned