fix log level for multiplayer 'received message' logs

This commit is contained in:
Jesse Plamondon-Willard 2019-03-07 18:19:11 -05:00
parent 87afd4fbf8
commit 448cf30e1b
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ These changes have not been released yet.
* For players:
* Fixed Save Backup not pruning old backups if they're uncompressed.
* Fixed issues when a farmhand reconnects before the game notices they're disconnected.
* Fixed 'received message' logs shown in non-developer mode.
* For modders:
* Added `IContentPack.HasFile` method.

View File

@ -433,7 +433,7 @@ namespace StardewModdingAPI.Framework
ModMessageModel model = this.JsonHelper.Deserialise<ModMessageModel>(json);
HashSet<long> playerIDs = new HashSet<long>(model.ToPlayerIDs ?? this.GetKnownPlayerIDs());
if (this.Monitor.IsVerbose)
this.Monitor.Log($"Received message: {json}.");
this.Monitor.Log($"Received message: {json}.", LogLevel.Trace);
// notify local mods
if (playerIDs.Contains(Game1.player.UniqueMultiplayerID))