Skip to content

Commit

Permalink
Make FFXIV plugin detection less strict to fix issues with the KR and…
Browse files Browse the repository at this point in the history
… (possibly) CN variants.
  • Loading branch information
ngld committed Apr 16, 2021
1 parent 6013f68 commit 034b068
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OverlayPlugin.Core/Integration/FFXIVRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 034b068

Please sign in to comment.