mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-23 17:09:17 +01:00
add LocalPlugin.IsOutdated shortcut
This commit is contained in:
parent
c34d4dfd87
commit
cb1761f998
3 changed files with 9 additions and 4 deletions
|
|
@ -561,7 +561,7 @@ namespace Dalamud.Plugin.Internal
|
|||
Log.Information(ex, $"Dev plugin failed to load, adding anyways: {dllFile.Name}");
|
||||
plugin.Disable(); // Disable here, otherwise you can't enable+load later
|
||||
}
|
||||
else if (plugin.Manifest.DalamudApiLevel < DalamudApiLevel)
|
||||
else if (plugin.IsOutdated)
|
||||
{
|
||||
// Out of date plugins get added so they can be updated.
|
||||
Log.Information(ex, $"Plugin was outdated, adding anyways: {dllFile.Name}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue