Updated new functionality and internal gearset to use FFXIVClientStructs member functions and implemented structs, corrected remaining spacing issues.

This commit is contained in:
Cordelia Mist 2025-01-21 10:47:12 -08:00
parent 2e11481276
commit c43ce9d978
6 changed files with 33 additions and 94 deletions

View file

@ -225,7 +225,8 @@ public class StateListener : IDisposable
// then we do not want to use our restricted gear protection
// since we assume the player has that gear modded to availability.
var locked = false;
if (actor.Identifier(_actors, out var identifier) && _manager.TryGetValue(identifier, out var state))
if (actor.Identifier(_actors, out var identifier)
&& _manager.TryGetValue(identifier, out var state))
{
HandleEquipSlot(actor, state, slot, ref armor);
locked = state.Sources[slot, false] is StateSource.IpcFixed;