mark Stardew Valley 1.3 incompatible in SMAPI 2.5.x to reduce confusion when it's released (#453)

This commit is contained in:
Jesse Plamondon-Willard 2018-03-03 22:18:44 -05:00
parent f9dc901994
commit a290a2fa52
3 changed files with 5 additions and 2 deletions

View File

@ -8,6 +8,9 @@
* Fixed mod list not including all mods if at least one has no author name.
* Fixed some log entries being incorrectly filtered.
* For SMAPI developers:
* Internal changes to support the upcoming Stardew Valley 1.3 update.
## 2.5.2
* For modders:
* Fixed issue where replacing an asset through `asset.AsImage()` or `asset.AsDictionary()` didn't take effect.

View File

@ -43,7 +43,7 @@ namespace StardewModdingAPI
public static ISemanticVersion MinimumGameVersion { get; } = new SemanticVersion("1.2.30");
/// <summary>The maximum supported version of Stardew Valley.</summary>
public static ISemanticVersion MaximumGameVersion { get; } = null;
public static ISemanticVersion MaximumGameVersion { get; } = new SemanticVersion("1.2.33");
/// <summary>The path to the game folder.</summary>
public static string ExecutionPath { get; } = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

View File

@ -177,7 +177,7 @@ namespace StardewModdingAPI
}
if (Constants.MaximumGameVersion != null && Constants.GameVersion.IsNewerThan(Constants.MaximumGameVersion))
{
this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but this version of SMAPI is only compatible up to Stardew Valley {Constants.MaximumGameVersion}. Please check for a newer version of SMAPI.", LogLevel.Error);
this.Monitor.Log($"Oops! You're running Stardew Valley {Constants.GameVersion}, but this version of SMAPI is only compatible up to Stardew Valley {Constants.MaximumGameVersion}. Please check for a newer version of SMAPI: https://smapi.io.", LogLevel.Error);
this.PressAnyKeyToExit();
return;
}