From: Liza Carvelli Date: Tue, 15 Apr 2025 19:43:49 +0000 (+0200) Subject: Fix Pandora's Box IPC X-Git-Tag: v5.9^0 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=3aa76db3003561328c4e7a76f945f1f12c1f04d5;p=Questionable.git Fix Pandora's Box IPC --- diff --git a/Directory.Build.targets b/Directory.Build.targets index 1b9f8a46..3630c3cb 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,5 +1,5 @@ - 5.8 + 5.9 diff --git a/Questionable/External/PandorasBoxIpc.cs b/Questionable/External/PandorasBoxIpc.cs index e3f902c4..01ffdd1f 100644 --- a/Questionable/External/PandorasBoxIpc.cs +++ b/Questionable/External/PandorasBoxIpc.cs @@ -8,13 +8,13 @@ namespace Questionable.External; internal sealed class PandorasBoxIpc { private readonly ILogger _logger; - private readonly ICallGateSubscriber _getFeatureEnabled; + private readonly ICallGateSubscriber _getFeatureEnabled; private bool _loggedIpcError; public PandorasBoxIpc(IDalamudPluginInterface pluginInterface, ILogger logger) { _logger = logger; - _getFeatureEnabled = pluginInterface.GetIpcSubscriber("PandorasBox.GetFeatureEnabled"); + _getFeatureEnabled = pluginInterface.GetIpcSubscriber("PandorasBox.GetFeatureEnabled"); logger.LogInformation("Pandora's Box auto active time maneuver enabled: {IsAtmEnabled}", IsAutoActiveTimeManeuverEnabled); } @@ -24,7 +24,7 @@ internal sealed class PandorasBoxIpc { try { - return _getFeatureEnabled.InvokeFunc("Auto Active Time Maneuver"); + return _getFeatureEnabled.InvokeFunc("Auto Active Time Maneuver") == true; } catch (IpcError e) {