diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-08-23 16:18:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-13 16:21:27 -0400 |
commit | e4d5b1d0dba0a7c2078327ef298d32bc8d45f25b (patch) | |
tree | ba908d5bc7f607b3c49058e1ffd737d982fe0728 /src/SMAPI/Framework/ContentManagers | |
parent | 23fe0c24a02f4275e93e775c5e1bf1b74fcb93a3 (diff) | |
download | SMAPI-e4d5b1d0dba0a7c2078327ef298d32bc8d45f25b.tar.gz SMAPI-e4d5b1d0dba0a7c2078327ef298d32bc8d45f25b.tar.bz2 SMAPI-e4d5b1d0dba0a7c2078327ef298d32bc8d45f25b.zip |
fix 'unknown file extension' error not listing .json as a valid extension
Diffstat (limited to 'src/SMAPI/Framework/ContentManagers')
-rw-r--r-- | src/SMAPI/Framework/ContentManagers/ModContentManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ContentManagers/ModContentManager.cs b/src/SMAPI/Framework/ContentManagers/ModContentManager.cs index 6485b3d4..2c50ec04 100644 --- a/src/SMAPI/Framework/ContentManagers/ModContentManager.cs +++ b/src/SMAPI/Framework/ContentManagers/ModContentManager.cs @@ -136,7 +136,7 @@ namespace StardewModdingAPI.Framework.ContentManagers throw GetContentError($"can't read unpacked map file directly from the underlying content manager. It must be loaded through the mod's {typeof(IModHelper)}.{nameof(IModHelper.Content)} helper."); default: - throw GetContentError($"unknown file extension '{file.Extension}'; must be one of '.png', '.tbin', or '.xnb'."); + throw GetContentError($"unknown file extension '{file.Extension}'; must be one of '.json', '.png', '.tbin', or '.xnb'."); } } catch (Exception ex) when (!(ex is SContentLoadException)) |