summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/ModHelpers
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-14 18:13:27 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-04-14 18:13:27 -0400
commit4de18b516fb12c3f842e72560b4d41aae7b7eff9 (patch)
tree965320c93d11660d68437a165851090d05b2b2f4 /src/SMAPI/Framework/ModHelpers
parent66272cbe46b848c64859cd0ab8cca6032c307137 (diff)
downloadSMAPI-4de18b516fb12c3f842e72560b4d41aae7b7eff9.tar.gz
SMAPI-4de18b516fb12c3f842e72560b4d41aae7b7eff9.tar.bz2
SMAPI-4de18b516fb12c3f842e72560b4d41aae7b7eff9.zip
fix nullable annotation (#837)
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers')
-rw-r--r--src/SMAPI/Framework/ModHelpers/TranslationHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/TranslationHelper.cs b/src/SMAPI/Framework/ModHelpers/TranslationHelper.cs
index d00ff279..684837ff 100644
--- a/src/SMAPI/Framework/ModHelpers/TranslationHelper.cs
+++ b/src/SMAPI/Framework/ModHelpers/TranslationHelper.cs
@@ -50,7 +50,7 @@ namespace StardewModdingAPI.Framework.ModHelpers
}
/// <inheritdoc />
- public Translation Get(string key, object tokens)
+ public Translation Get(string key, object? tokens)
{
return this.Translator.Get(key, tokens);
}