diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-01-05 22:51:38 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-02-07 22:40:27 -0500 |
commit | 90c5858cf8a75a7f236a5fc58d23379e2116c482 (patch) | |
tree | f7f27ad0593c71926191a9ba81a5b240505f620f /src/SMAPI/Framework/ModHelpers | |
parent | 60cca13d5322061a38067f91cbd28116096c4bb0 (diff) | |
download | SMAPI-90c5858cf8a75a7f236a5fc58d23379e2116c482.tar.gz SMAPI-90c5858cf8a75a7f236a5fc58d23379e2116c482.tar.bz2 SMAPI-90c5858cf8a75a7f236a5fc58d23379e2116c482.zip |
fix typo
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers')
-rw-r--r-- | src/SMAPI/Framework/ModHelpers/DataHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/DataHelper.cs b/src/SMAPI/Framework/ModHelpers/DataHelper.cs index 2cb886ba..3b5c1752 100644 --- a/src/SMAPI/Framework/ModHelpers/DataHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/DataHelper.cs @@ -97,7 +97,7 @@ namespace StardewModdingAPI.Framework.ModHelpers if (!Game1.hasLoadedGame) throw new InvalidOperationException($"Can't use {nameof(IMod.Helper)}.{nameof(IModHelper.Data)}.{nameof(this.WriteSaveData)} when a save file isn't loaded."); if (!Game1.IsMasterGame) - throw new InvalidOperationException($"Can't use {nameof(IMod.Helper)}.{nameof(IModHelper.Data)}.{nameof(this.ReadSaveData)} because this isn't the main player. (Save files are stored on the main player's computer.)"); + throw new InvalidOperationException($"Can't use {nameof(IMod.Helper)}.{nameof(IModHelper.Data)}.{nameof(this.WriteSaveData)} because this isn't the main player. (Save files are stored on the main player's computer.)"); string internalKey = this.GetSaveFileKey(key); if (data != null) |