summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-23 12:57:33 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-05-23 12:57:33 -0400
commit5675f9fcebfdeb03510c347712df8e9934b362c6 (patch)
treed026ccce206b73e01bbda75da85ee1d180fc0d27 /src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs
parent87ac7fc4032c1edbc246e7f7a96881f1284c04b9 (diff)
downloadSMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.tar.gz
SMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.tar.bz2
SMAPI-5675f9fcebfdeb03510c347712df8e9934b362c6.zip
add watcher names to simplify troubleshooting
Diffstat (limited to 'src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs')
-rw-r--r--src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs b/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs
index b46e0b24..9c2ba9bc 100644
--- a/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs
+++ b/src/SMAPI/Framework/StateTracking/FieldWatchers/ImmutableCollectionWatcher.cs
@@ -14,6 +14,9 @@ namespace StardewModdingAPI.Framework.StateTracking.FieldWatchers
public static ImmutableCollectionWatcher<TValue> Instance { get; } = new();
/// <inheritdoc />
+ public string Name => nameof(ImmutableCollectionWatcher<TValue>);
+
+ /// <inheritdoc />
public bool IsChanged { get; } = false;
/// <inheritdoc />