summaryrefslogtreecommitdiff
path: root/src/SMAPI/Utilities/CaseInsensitivePathCache.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Utilities/CaseInsensitivePathCache.cs')
-rw-r--r--src/SMAPI/Utilities/CaseInsensitivePathCache.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SMAPI/Utilities/CaseInsensitivePathCache.cs b/src/SMAPI/Utilities/CaseInsensitivePathCache.cs
index 4596fdce..2ac1b9f9 100644
--- a/src/SMAPI/Utilities/CaseInsensitivePathCache.cs
+++ b/src/SMAPI/Utilities/CaseInsensitivePathCache.cs
@@ -1,5 +1,3 @@
-#nullable disable
-
using System;
using System.Collections.Generic;
using System.IO;
@@ -81,7 +79,7 @@ namespace StardewModdingAPI.Utilities
return relativePath;
// already cached
- if (this.RelativePathCache.Value.TryGetValue(relativePath, out string resolved))
+ if (this.RelativePathCache.Value.TryGetValue(relativePath, out string? resolved))
return resolved;
// file exists but isn't cached for some reason