summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SMAPI.Web/Controllers/ModsApiController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Controllers/ModsApiController.cs b/src/SMAPI.Web/Controllers/ModsApiController.cs
index 3ca07a08..dcddaf10 100644
--- a/src/SMAPI.Web/Controllers/ModsApiController.cs
+++ b/src/SMAPI.Web/Controllers/ModsApiController.cs
@@ -291,7 +291,7 @@ namespace StardewModdingAPI.Web.Controllers
.ToList();
// apply overrides from wiki
- if (entry.Overrides?.ChangeUpdateKeys?.HasChanges == true)
+ if (entry?.Overrides?.ChangeUpdateKeys?.HasChanges == true)
{
List<string> newKeys = updateKeys.Select(p => p.ToString()).ToList();
entry.Overrides.ChangeUpdateKeys.Apply(newKeys);