diff --git a/Glamourer/Automation/AutoDesignManager.cs b/Glamourer/Automation/AutoDesignManager.cs index 2e77c01..e45b8e0 100644 --- a/Glamourer/Automation/AutoDesignManager.cs +++ b/Glamourer/Automation/AutoDesignManager.cs @@ -231,9 +231,9 @@ public class AutoDesignManager : ISavable, IReadOnlyList, IDispos { var newDesign = new AutoDesign() { - Design = design, - Type = ApplicationType.All, - Jobs = _jobs.JobGroups[1], + Design = design, + Type = ApplicationType.All, + Jobs = _jobs.JobGroups[1], }; set.Designs.Add(newDesign); Save(); @@ -494,8 +494,8 @@ public class AutoDesignManager : ISavable, IReadOnlyList, IDispos var ret = new AutoDesign { - Design = design, - Type = applicationType & ApplicationType.All, + Design = design, + Type = applicationType & ApplicationType.All, }; return ParseConditions(setName, jObj, ret) ? ret : null; } diff --git a/Glamourer/Designs/DesignData.cs b/Glamourer/Designs/DesignData.cs index 5b573d3..6b84768 100644 --- a/Glamourer/Designs/DesignData.cs +++ b/Glamourer/Designs/DesignData.cs @@ -62,10 +62,10 @@ public unsafe struct DesignData => CrestVisibility.HasFlag(slot); - public FullEquipType MainhandType + public readonly FullEquipType MainhandType => _typeMainhand; - public FullEquipType OffhandType + public readonly FullEquipType OffhandType => _typeOffhand; public readonly EquipItem Item(EquipSlot slot) diff --git a/Glamourer/Designs/DesignFileSystem.cs b/Glamourer/Designs/DesignFileSystem.cs index 2f346a1..00277c2 100644 --- a/Glamourer/Designs/DesignFileSystem.cs +++ b/Glamourer/Designs/DesignFileSystem.cs @@ -105,7 +105,8 @@ public sealed class DesignFileSystem : FileSystem, IDisposable, ISavable } catch (Exception ex) { - Glamourer.Messager.NotificationMessage(ex, $"Could not move design to {path} because the folder could not be created.", NotificationType.Error); + Glamourer.Messager.NotificationMessage(ex, $"Could not move design to {path} because the folder could not be created.", + NotificationType.Error); } CreateDuplicateLeaf(parent, design.Name.Text, design);