Fix equip changes not working on designs, rudimentary revert button for players, add beta options to NPC and Monsters

This commit is contained in:
Ottermandias 2021-09-22 11:50:33 +02:00
parent fb909aaf87
commit 31cf5dffcc
11 changed files with 486 additions and 59 deletions

View file

@ -26,6 +26,7 @@ namespace Glamourer
private readonly Interface _interface;
public readonly DesignManager Designs;
public readonly FixedDesigns FixedDesigns;
public static RevertableDesigns RevertableDesigns = new();
public static string Version = string.Empty;
@ -41,7 +42,7 @@ namespace Glamourer
Penumbra = new PenumbraAttach(Config.AttachToPenumbra);
PlayerWatcher = PlayerWatchFactory.Create(Dalamud.Framework, Dalamud.ClientState, Dalamud.Objects);
FixedDesigns = new FixedDesigns(Designs);
if (Config.ApplyFixedDesigns)
PlayerWatcher.Enable();