Merge pull request #269 from Aireil/fix_ambiguous_dev_warning

Remove ambiguity with raw plugins in installer
This commit is contained in:
goaaats 2021-03-25 17:26:56 +01:00 committed by GitHub
commit ae1154ae39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -460,7 +460,9 @@ namespace Dalamud.Plugin
if (installedPlugin.IsRaw) {
ImGui.SameLine();
ImGui.TextColored(new Vector4(1.0f, 0.0f, 0.0f, 1.0f),
" To update or disable this plugin, please remove it from the devPlugins folder.");
this.dalamud.PluginRepository.PluginMaster.Any(x => x.InternalName == installedPlugin.Definition.InternalName)
? " This plugin is available in one of your repos, please remove it from the devPlugins folder."
: " To disable this plugin, please remove it from the devPlugins folder.");
}
}