Merge branch 'develop' into stable
This commit is contained in:
commit
e20d26adcf
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
<!--set properties -->
|
<!--set properties -->
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>3.7.4</Version>
|
<Version>3.7.5</Version>
|
||||||
<Product>SMAPI</Product>
|
<Product>SMAPI</Product>
|
||||||
|
|
||||||
<LangVersion>latest</LangVersion>
|
<LangVersion>latest</LangVersion>
|
||||||
|
|
|
@ -7,6 +7,12 @@
|
||||||
* Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info).
|
* Migrated to Harmony 2.0 (see [_migrate to Harmony 2.0_](https://stardewvalleywiki.com/Modding:Migrate_to_Harmony_2.0) for more info).
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
## 3.7.5
|
||||||
|
Released 16 October 2020 for Stardew Valley 1.4.1 or later.
|
||||||
|
|
||||||
|
* For modders:
|
||||||
|
* Fixed changes to the town map asset not reapplying the game's community center, JojaMart, and Pam house changes.
|
||||||
|
|
||||||
## 3.7.4
|
## 3.7.4
|
||||||
Released 03 October 2020 for Stardew Valley 1.4.1 or later.
|
Released 03 October 2020 for Stardew Valley 1.4.1 or later.
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"Name": "Console Commands",
|
"Name": "Console Commands",
|
||||||
"Author": "SMAPI",
|
"Author": "SMAPI",
|
||||||
"Version": "3.7.4",
|
"Version": "3.7.5",
|
||||||
"Description": "Adds SMAPI console commands that let you manipulate the game.",
|
"Description": "Adds SMAPI console commands that let you manipulate the game.",
|
||||||
"UniqueID": "SMAPI.ConsoleCommands",
|
"UniqueID": "SMAPI.ConsoleCommands",
|
||||||
"EntryDll": "ConsoleCommands.dll",
|
"EntryDll": "ConsoleCommands.dll",
|
||||||
"MinimumApiVersion": "3.7.4"
|
"MinimumApiVersion": "3.7.5"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"Name": "Save Backup",
|
"Name": "Save Backup",
|
||||||
"Author": "SMAPI",
|
"Author": "SMAPI",
|
||||||
"Version": "3.7.4",
|
"Version": "3.7.5",
|
||||||
"Description": "Automatically backs up all your saves once per day into its folder.",
|
"Description": "Automatically backs up all your saves once per day into its folder.",
|
||||||
"UniqueID": "SMAPI.SaveBackup",
|
"UniqueID": "SMAPI.SaveBackup",
|
||||||
"EntryDll": "SaveBackup.dll",
|
"EntryDll": "SaveBackup.dll",
|
||||||
"MinimumApiVersion": "3.7.4"
|
"MinimumApiVersion": "3.7.5"
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ namespace StardewModdingAPI
|
||||||
** Public
|
** Public
|
||||||
****/
|
****/
|
||||||
/// <summary>SMAPI's current semantic version.</summary>
|
/// <summary>SMAPI's current semantic version.</summary>
|
||||||
public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.7.4");
|
public static ISemanticVersion ApiVersion { get; } = new Toolkit.SemanticVersion("3.7.5");
|
||||||
|
|
||||||
/// <summary>The minimum supported version of Stardew Valley.</summary>
|
/// <summary>The minimum supported version of Stardew Valley.</summary>
|
||||||
public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.4.1");
|
public static ISemanticVersion MinimumGameVersion { get; } = new GameVersion("1.4.1");
|
||||||
|
|
|
@ -138,6 +138,14 @@ namespace StardewModdingAPI.Metadata
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrWhiteSpace(location.mapPath.Value) && this.NormalizeAssetNameIgnoringEmpty(location.mapPath.Value) == key)
|
if (!string.IsNullOrWhiteSpace(location.mapPath.Value) && this.NormalizeAssetNameIgnoringEmpty(location.mapPath.Value) == key)
|
||||||
{
|
{
|
||||||
|
// reset town caches
|
||||||
|
if (location is Town town)
|
||||||
|
{
|
||||||
|
this.Reflection.GetField<bool>(town, "ccRefurbished").SetValue(false);
|
||||||
|
this.Reflection.GetField<bool>(town, "isShowingDestroyedJoja").SetValue(false);
|
||||||
|
this.Reflection.GetField<bool>(town, "isShowingUpgradedPamHouse").SetValue(false);
|
||||||
|
}
|
||||||
|
|
||||||
// general updates
|
// general updates
|
||||||
location.reloadMap();
|
location.reloadMap();
|
||||||
location.updateSeasonalTileSheets();
|
location.updateSeasonalTileSheets();
|
||||||
|
|
Loading…
Reference in New Issue