chore: remove IDalamudPlugin.Name

This commit is contained in:
goat 2023-09-23 11:17:53 +02:00
parent 60a2051026
commit c55b93d3c2
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 2 additions and 18 deletions

View file

@ -7,8 +7,4 @@ namespace Dalamud.Plugin;
/// </summary>
public interface IDalamudPlugin : IDisposable
{
/// <summary>
/// Gets the name of the plugin.
/// </summary>
string Name { get; }
}

View file

@ -505,13 +505,6 @@ internal class LocalPlugin : IDisposable
return;
}
// In-case the manifest name was a placeholder. Can occur when no manifest was included.
if (this.manifest.Name.IsNullOrEmpty() && !this.IsDev)
{
this.manifest.Name = this.instance.Name;
this.manifest.Save(this.manifestFile, "manifest name null or empty");
}
this.State = PluginState.Loaded;
Log.Information($"Finished loading {this.DllFile.Name}");
}