From 034b068954620a59f2057af7f49831e80910b4bd Mon Sep 17 00:00:00 2001 From: ngld Date: Fri, 16 Apr 2021 21:19:06 +0200 Subject: [PATCH] Make FFXIV plugin detection less strict to fix issues with the KR and (possibly) CN variants. --- OverlayPlugin.Core/Integration/FFXIVRepository.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OverlayPlugin.Core/Integration/FFXIVRepository.cs b/OverlayPlugin.Core/Integration/FFXIVRepository.cs index a3d8b89ab..153446e59 100644 --- a/OverlayPlugin.Core/Integration/FFXIVRepository.cs +++ b/OverlayPlugin.Core/Integration/FFXIVRepository.cs @@ -70,7 +70,7 @@ private IDataRepository GetRepository() if (repository != null) return repository; - var FFXIV = ActGlobals.oFormActMain.ActPlugins.FirstOrDefault(x => x.lblPluginTitle.Text == "FFXIV_ACT_Plugin.dll"); + var FFXIV = ActGlobals.oFormActMain.ActPlugins.FirstOrDefault(x => x.lblPluginTitle.Text.StartsWith("FFXIV_ACT_Plugin")); if (FFXIV != null && FFXIV.pluginObj != null) { try @@ -91,7 +91,7 @@ private IDataSubscription GetSubscription() if (subscription != null) return subscription; - var FFXIV = ActGlobals.oFormActMain.ActPlugins.FirstOrDefault(x => x.lblPluginTitle.Text == "FFXIV_ACT_Plugin.dll"); + var FFXIV = ActGlobals.oFormActMain.ActPlugins.FirstOrDefault(x => x.lblPluginTitle.Text.StartsWith("FFXIV_ACT_Plugin")); if (FFXIV != null && FFXIV.pluginObj != null) { try