mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
ItemDictionary is no longer IDictionary
This commit is contained in:
@@ -29,7 +29,7 @@ namespace SabreTools.DatFiles
|
||||
/// DatItems and related statistics
|
||||
/// </summary>
|
||||
[JsonProperty("items"), XmlElement("items")]
|
||||
public ItemDictionary Items { get; private set; } = [];
|
||||
public ItemDictionary Items { get; private set; } = new ItemDictionary();
|
||||
|
||||
/// <summary>
|
||||
/// DatItems and related statistics
|
||||
@@ -252,7 +252,7 @@ namespace SabreTools.DatFiles
|
||||
/// </summary>
|
||||
public void ResetDictionary()
|
||||
{
|
||||
Items.Clear();
|
||||
Items = new ItemDictionary();
|
||||
ItemsDB = new ItemDictionaryDB();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user