mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
feat(PluginManager): add switch to allow for loading plugins of all API levels
This commit is contained in:
parent
3274bd047d
commit
1e33b7deb5
4 changed files with 15 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ namespace Dalamud.Plugin.Internal
|
|||
if (this.Manifest.ApplicableVersion < this.dalamud.StartInfo.GameVersion)
|
||||
throw new InvalidPluginOperationException($"Unable to load {this.Name}, no applicable version");
|
||||
|
||||
if (this.Manifest.DalamudApiLevel < PluginManager.DalamudApiLevel)
|
||||
if (this.Manifest.DalamudApiLevel < PluginManager.DalamudApiLevel && !this.dalamud.Configuration.LoadAllApiLevels)
|
||||
throw new InvalidPluginOperationException($"Unable to load {this.Name}, incompatible API level");
|
||||
|
||||
if (this.Manifest.Disabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue