diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:35:07 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-23 21:35:07 -0400 |
commit | 8bcc80a33d42f5c6f044533bb151d75901de912f (patch) | |
tree | 84918fd9a98c327cb79dce200f2308401ddae709 /src/StardewModdingAPI/Framework/ModLoading | |
parent | 2d36105c33ffba77eb979ef6ef0d2e7d906b09bc (diff) | |
download | SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.tar.gz SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.tar.bz2 SMAPI-8bcc80a33d42f5c6f044533bb151d75901de912f.zip |
rename mod compatibility type for broader use (#361)
Diffstat (limited to 'src/StardewModdingAPI/Framework/ModLoading')
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs b/src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs index 87b6a99c..6a971c15 100644 --- a/src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/ModResolver.cs @@ -107,7 +107,7 @@ namespace StardewModdingAPI.Framework.ModLoading // validate compatibility { ModCompatibility compatibility = mod.Compatibility; - if (compatibility?.Compatibility == ModCompatibilityType.AssumeBroken) + if (compatibility?.Status == ModStatus.AssumeBroken) { string reasonPhrase = compatibility.ReasonPhrase ?? "it's no longer compatible"; string error = $"{reasonPhrase}. Please check for a "; |