summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-08-24 20:16:03 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-08-24 20:16:03 -0400
commit04778dcb26f888b56a8d9a70586f8fb6146d3971 (patch)
treefbb214b2f58f2cbaf490fe0ac21dc2d7740bf5db
parentaabd76f38cd22065a51269b049c9b166759307f3 (diff)
downloadSMAPI-04778dcb26f888b56a8d9a70586f8fb6146d3971.tar.gz
SMAPI-04778dcb26f888b56a8d9a70586f8fb6146d3971.tar.bz2
SMAPI-04778dcb26f888b56a8d9a70586f8fb6146d3971.zip
suppress the game's 'added cricket' debug output
-rw-r--r--docs/release-notes.md3
-rw-r--r--src/SMAPI/Framework/SCore.cs2
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/release-notes.md b/docs/release-notes.md
index ff2a7105..6af726a1 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -14,7 +14,8 @@
* Added `IContentPack.WriteJsonFile` method.
* Added IntelliSense documentation when not using the 'for developers' version of SMAPI.
* Fixed `IContentPack.ReadJsonFile` allowing non-relative paths.
- * **Breaking change:** `helper.ModRegistry` returns a new `IModInfo` interface instead of `IManifest` directly. This lets SMAPI return more metadata about mods in future versions.
+ * Suppressed the game's 'added crickets' debug output.
+ * **Breaking change:** `helper.ModRegistry` now returns `IModInfo` instead of `IManifest` directly. This lets SMAPI return more metadata about mods in future versions.
* **Breaking change:** most SMAPI files have been moved into a `smapi-internal` subfolder. This won't affect compiled mods, but you'll need to update the mod build config NuGet package when compiling mods.
* For SMAPI developers:
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index 8368152d..3e93760b 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -91,7 +91,7 @@ namespace StardewModdingAPI.Framework
new Regex(@"^(?:FRUIT )?TREE: IsClient:(?:True|False) randomOutput: \d+$", RegexOptions.Compiled | RegexOptions.CultureInvariant),
new Regex(@"^loadPreferences\(\); begin", RegexOptions.Compiled | RegexOptions.CultureInvariant),
new Regex(@"^savePreferences\(\); async=", RegexOptions.Compiled | RegexOptions.CultureInvariant),
- new Regex(@"^DebugOutput: (?:added CLOUD|dismount tile|Ping|playerPos)", RegexOptions.Compiled | RegexOptions.CultureInvariant),
+ new Regex(@"^DebugOutput:\s+(?:added CLOUD|added cricket|dismount tile|Ping|playerPos)", RegexOptions.Compiled | RegexOptions.CultureInvariant),
new Regex(@"^static SerializableDictionary<.+>\(\) called\.$", RegexOptions.Compiled | RegexOptions.CultureInvariant),
};