mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix weapon checking on auto design stuff when it is disabled.
This commit is contained in:
parent
6e59ad0f1a
commit
291613f775
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ public class AutoDesignApplier : IDisposable
|
||||||
|
|
||||||
private void OnWeaponLoading(Actor actor, EquipSlot slot, Ref<CharacterWeapon> weapon)
|
private void OnWeaponLoading(Actor actor, EquipSlot slot, Ref<CharacterWeapon> weapon)
|
||||||
{
|
{
|
||||||
if (_jobChangeState == null)
|
if (_jobChangeState == null || !_config.EnableAutoDesigns)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var id = actor.GetIdentifier(_actors.AwaitedService);
|
var id = actor.GetIdentifier(_actors.AwaitedService);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue