diff --git a/Craftimizer/Windows/SynthHelper.cs b/Craftimizer/Windows/SynthHelper.cs index 4060db0..7d2de8a 100644 --- a/Craftimizer/Windows/SynthHelper.cs +++ b/Craftimizer/Windows/SynthHelper.cs @@ -528,7 +528,10 @@ public sealed unsafe class SynthHelper : Window, IDisposable private void OnUseAction(ActionType action) { - if (!ShouldOpen || IsCollapsed) + Addon = (AddonSynthesis*)Service.GameGui.GetAddonByName("Synthesis"); + if (Addon == null) + return; + if (Addon->AtkUnitBase.WindowNode == null) return; (_, CurrentState) = new SimNoRandom().Execute(GetCurrentState(), action);