mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
chore: check if internalname is null for devplugin
This commit is contained in:
parent
c1564c915e
commit
f8e51feb13
1 changed files with 7 additions and 0 deletions
|
|
@ -398,6 +398,13 @@ internal partial class PluginManager : IDisposable, IServiceType
|
||||||
// Manifests are not required for devPlugins. the Plugin type will handle any null manifests.
|
// Manifests are not required for devPlugins. the Plugin type will handle any null manifests.
|
||||||
var manifestFile = LocalPluginManifest.GetManifestFile(dllFile);
|
var manifestFile = LocalPluginManifest.GetManifestFile(dllFile);
|
||||||
var manifest = manifestFile.Exists ? LocalPluginManifest.Load(manifestFile) : null;
|
var manifest = manifestFile.Exists ? LocalPluginManifest.Load(manifestFile) : null;
|
||||||
|
|
||||||
|
if (manifest != null && manifest.InternalName.IsNullOrEmpty())
|
||||||
|
{
|
||||||
|
Log.Error("InternalName for dll at {Path} was null", manifestFile.FullName);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
devPluginDefs.Add(new PluginDef(dllFile, manifest, true));
|
devPluginDefs.Add(new PluginDef(dllFile, manifest, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue