fix reload_i18n not reloading content pack translations

This commit is contained in:
Jesse Plamondon-Willard 2020-06-20 12:29:08 -04:00
parent 74defbfec6
commit e9b8df4618
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@
* Mods which use the `[HarmonyPatch(type)]` attribute now work crossplatform. Previously SMAPI couldn't rewrite types in custom attributes for compatibility.
* Fixed `BadImageFormatException` error detection.
* Fixed black maps on Android for mods which use `.tmx` files.
* Fixed `reload_i18n` command not reloading content pack translations.
* For the web UI:
* Added GitHub licenses to mod compatibility list.

View File

@ -1280,7 +1280,7 @@ namespace StardewModdingAPI.Framework
/// <summary>Reload translations for all mods.</summary>
private void ReloadTranslations()
{
this.ReloadTranslations(this.ModRegistry.GetAll(contentPacks: false));
this.ReloadTranslations(this.ModRegistry.GetAll());
}
/// <summary>Reload translations for the given mods.</summary>