diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-06-02 18:25:34 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-06-02 18:25:34 -0400 |
commit | 559203922bcad4071f8be53b1a61b0026da14396 (patch) | |
tree | 2ed664798183d77779beb68b61bd7622140413df /src/TrainerMod | |
parent | 933e889c24e565d9028d3719ba2d65d512890564 (diff) | |
parent | 3a8e77a3098572fa413a27f41f832563daec3453 (diff) | |
download | SMAPI-559203922bcad4071f8be53b1a61b0026da14396.tar.gz SMAPI-559203922bcad4071f8be53b1a61b0026da14396.tar.bz2 SMAPI-559203922bcad4071f8be53b1a61b0026da14396.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/TrainerMod')
-rw-r--r-- | src/TrainerMod/TrainerMod.cs | 8 | ||||
-rw-r--r-- | src/TrainerMod/manifest.json | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/TrainerMod/TrainerMod.cs b/src/TrainerMod/TrainerMod.cs index 95c7cbaf..9a3a8d0b 100644 --- a/src/TrainerMod/TrainerMod.cs +++ b/src/TrainerMod/TrainerMod.cs @@ -124,9 +124,15 @@ namespace TrainerMod switch (command) { case "debug": + // submit command string debugCommand = string.Join(" ", args); - this.Monitor.Log($"Sending debug command to the game: {debugCommand}...", LogLevel.Info); + string oldOutput = Game1.debugOutput; Game1.game1.parseDebugInput(debugCommand); + + // show result + this.Monitor.Log(Game1.debugOutput != oldOutput + ? $"> {Game1.debugOutput}" + : "Sent debug command to the game, but there was no output.", LogLevel.Info); break; case "save": diff --git a/src/TrainerMod/manifest.json b/src/TrainerMod/manifest.json index 8bddf02d..1232a365 100644 --- a/src/TrainerMod/manifest.json +++ b/src/TrainerMod/manifest.json @@ -3,7 +3,7 @@ "Author": "SMAPI", "Version": { "MajorVersion": 1, - "MinorVersion": 9, + "MinorVersion": 14, "PatchVersion": 0, "Build": null }, |