Merge pull request #263 from Aireil/fix_plugin_update_name

Use internal name when updating plugins
This commit is contained in:
goaaats 2021-02-17 23:17:50 +01:00 committed by GitHub
commit ad7cc426bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ namespace Dalamud.Plugin
var info = JsonConvert.DeserializeObject<PluginDefinition>(
File.ReadAllText(localInfoFile.FullName));
var remoteInfo = this.PluginMaster.FirstOrDefault(x => x.Name == info.Name);
var remoteInfo = this.PluginMaster.FirstOrDefault(x => x.InternalName == info.InternalName);
if (remoteInfo == null) {
Log.Information("Is not in pluginmaster: {0}", info.Name);