mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
fix: don't attempt to load orphaned plugins
This commit is contained in:
parent
bb745fc23e
commit
568f750d59
1 changed files with 2 additions and 2 deletions
|
|
@ -866,13 +866,13 @@ Thanks and have fun!";
|
|||
{
|
||||
try
|
||||
{
|
||||
if (!plugin.IsDisabled)
|
||||
if (!plugin.IsDisabled && !plugin.IsOrphaned)
|
||||
{
|
||||
await plugin.LoadAsync(reason);
|
||||
}
|
||||
else
|
||||
{
|
||||
Log.Verbose($"{name} was disabled");
|
||||
Log.Verbose($"{name} not loaded, disabled:{plugin.IsDisabled} orphaned:{plugin.IsOrphaned}");
|
||||
}
|
||||
}
|
||||
catch (InvalidPluginException)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue