diff --git a/Winch/Util/ItemUtil.cs b/Winch/Util/ItemUtil.cs index 6eb172c9..efc663b3 100644 --- a/Winch/Util/ItemUtil.cs +++ b/Winch/Util/ItemUtil.cs @@ -25,8 +25,8 @@ internal static class ItemUtil { typeof(DamageItemData), new DamageItemDataConverter() }, }; - public static Dictionary harvestableItemDataDict = new(); - public static Dictionary allItemDataDict = new(); + public static Dictionary HarvestableItemDataDict = new(); + public static Dictionary AllItemDataDict = new(); public static void PopulateItemData() { @@ -34,11 +34,11 @@ public static void PopulateItemData() { if (item is FishItemData or RelicItemData or HarvestableItemData) { - harvestableItemDataDict.Add(item.id, item); - WinchCore.Log.Debug($"Added item {item.id} to harvestableItemDataDict"); + HarvestableItemDataDict.Add(item.id, item); + WinchCore.Log.Debug($"Added item {item.id} to HarvestableItemDataDict"); } - allItemDataDict.Add(item.id, item); - WinchCore.Log.Debug($"Added item {item.id} to allItemDataDict"); + AllItemDataDict.Add(item.id, item); + WinchCore.Log.Debug($"Added item {item.id} to AllItemDataDict"); } } @@ -50,7 +50,7 @@ internal static void AddItemFromMeta(string metaPath) where T : ItemData WinchCore.Log.Error($"Meta file {metaPath} is empty"); return; } - if (allItemDataDict.ContainsKey((string)meta["id"])) + if (AllItemDataDict.ContainsKey((string)meta["id"])) { WinchCore.Log.Error($"Duplicate item {(string)meta["id"]} at {metaPath} failed to load"); return;