summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Exceptions/SContentLoadException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Framework/Exceptions/SContentLoadException.cs')
-rw-r--r--src/SMAPI/Framework/Exceptions/SContentLoadException.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/SMAPI/Framework/Exceptions/SContentLoadException.cs b/src/SMAPI/Framework/Exceptions/SContentLoadException.cs
index c21a6b0e..be1fe748 100644
--- a/src/SMAPI/Framework/Exceptions/SContentLoadException.cs
+++ b/src/SMAPI/Framework/Exceptions/SContentLoadException.cs
@@ -1,5 +1,3 @@
-#nullable disable
-
using System;
using Microsoft.Xna.Framework.Content;
@@ -14,7 +12,7 @@ namespace StardewModdingAPI.Framework.Exceptions
/// <summary>Construct an instance.</summary>
/// <param name="message">The error message.</param>
/// <param name="ex">The underlying exception, if any.</param>
- public SContentLoadException(string message, Exception ex = null)
+ public SContentLoadException(string message, Exception? ex = null)
: base(message, ex) { }
}
}