mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-02 13:53:40 +01:00
Fix updates failing due to flipped WorkingPluginId check
This commit is contained in:
parent
34679d085b
commit
34ca8b8f99
1 changed files with 2 additions and 2 deletions
|
|
@ -1432,8 +1432,8 @@ internal class PluginManager : IInternalDisposableService
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// If we are doing anything other than a fresh install, not having a workingPluginId is an error that must be fixed
|
// If we are doing anything other than a fresh install, not having a workingPluginId is an error that must be fixed
|
||||||
if (inheritedWorkingPluginId != null)
|
if (inheritedWorkingPluginId == null)
|
||||||
throw new InvalidOperationException("Inherited WorkingPluginId must not be null");
|
throw new ArgumentNullException(nameof(inheritedWorkingPluginId), "Inherited WorkingPluginId must not be null when updating");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that we have a testing opt-in for this plugin if we are installing a testing version
|
// Ensure that we have a testing opt-in for this plugin if we are installing a testing version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue