From 3aa76db3003561328c4e7a76f945f1f12c1f04d5 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Tue, 15 Apr 2025 21:43:49 +0200 Subject: [PATCH] Fix Pandora's Box IPC --- Directory.Build.targets | 2 +- Questionable/External/PandorasBoxIpc.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.20.1