Use internal name when updating plugins

This commit is contained in:
Aireil 2021-02-17 23:06:43 +01:00
parent 32a72e41f9
commit dbbde09469

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);