Add the option to omit mch offhands from changed items.

This commit is contained in:
Ottermandias 2024-05-21 18:24:21 +02:00
parent bb56faa288
commit e85b84dafe
13 changed files with 192 additions and 117 deletions

View file

@ -62,8 +62,8 @@ public sealed class Mod : IMod
// Options
public readonly DefaultSubMod Default;
public readonly List<IModGroup> Groups = [];
public readonly DefaultSubMod Default;
public readonly List<IModGroup> Groups = [];
public AppliedModData GetData(ModSettings? settings = null)
{
@ -99,7 +99,7 @@ public sealed class Mod : IMod
}
// Cache
public readonly IReadOnlyDictionary<string, object?> ChangedItems = new SortedList<string, object?>();
public readonly SortedList<string, object?> ChangedItems = new();
public string LowerChangedItemsString { get; internal set; } = string.Empty;
public string AllTagsLower { get; internal set; } = string.Empty;