From e69a76c40187468687f6cd0682615d416d0a1afe Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Wed, 3 Mar 2021 01:11:35 +0100 Subject: [PATCH] fix: remove ambiguity with raw plugins in installer --- Dalamud/Plugin/PluginInstallerWindow.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dalamud/Plugin/PluginInstallerWindow.cs b/Dalamud/Plugin/PluginInstallerWindow.cs index 7361264f5..523033afb 100644 --- a/Dalamud/Plugin/PluginInstallerWindow.cs +++ b/Dalamud/Plugin/PluginInstallerWindow.cs @@ -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."); } }