From 291613f77541093249d859aafe0dc54ea80f9254 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Fri, 29 Sep 2023 01:39:16 +0200 Subject: [PATCH] Fix weapon checking on auto design stuff when it is disabled. --- Glamourer/Automation/AutoDesignApplier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Glamourer/Automation/AutoDesignApplier.cs b/Glamourer/Automation/AutoDesignApplier.cs index c5a6603..baf2e7e 100644 --- a/Glamourer/Automation/AutoDesignApplier.cs +++ b/Glamourer/Automation/AutoDesignApplier.cs @@ -66,7 +66,7 @@ public class AutoDesignApplier : IDisposable private void OnWeaponLoading(Actor actor, EquipSlot slot, Ref weapon) { - if (_jobChangeState == null) + if (_jobChangeState == null || !_config.EnableAutoDesigns) return; var id = actor.GetIdentifier(_actors.AwaitedService);