summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SnapshotDiff.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/SnapshotDiff.cs')
-rw-r--r--src/SMAPI/Framework/SnapshotDiff.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/SMAPI/Framework/SnapshotDiff.cs b/src/SMAPI/Framework/SnapshotDiff.cs
index eb2aebe1..d659d2b4 100644
--- a/src/SMAPI/Framework/SnapshotDiff.cs
+++ b/src/SMAPI/Framework/SnapshotDiff.cs
@@ -1,5 +1,3 @@
-#nullable disable
-
using StardewModdingAPI.Framework.StateTracking;
namespace StardewModdingAPI.Framework
@@ -15,10 +13,10 @@ namespace StardewModdingAPI.Framework
public bool IsChanged { get; private set; }
/// <summary>The previous value.</summary>
- public T Old { get; private set; }
+ public T? Old { get; private set; }
/// <summary>The current value.</summary>
- public T New { get; private set; }
+ public T? New { get; private set; }
/*********