mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +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
|
try
|
||||||
{
|
{
|
||||||
if (!plugin.IsDisabled)
|
if (!plugin.IsDisabled && !plugin.IsOrphaned)
|
||||||
{
|
{
|
||||||
await plugin.LoadAsync(reason);
|
await plugin.LoadAsync(reason);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Log.Verbose($"{name} was disabled");
|
Log.Verbose($"{name} not loaded, disabled:{plugin.IsDisabled} orphaned:{plugin.IsOrphaned}");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (InvalidPluginException)
|
catch (InvalidPluginException)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue