diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-04-15 22:36:50 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 17:14:43 -0400 |
commit | 78f28357e4f87ed619144229ea65c1e1cb0f9dd3 (patch) | |
tree | d0a1634878e275326bcd7e7d9c4274d74ef44566 /src/SMAPI.Mods.ConsoleCommands/Framework/Commands | |
parent | ee132828437c156207ddfc1cbc15339a6852c2fe (diff) | |
download | SMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.tar.gz SMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.tar.bz2 SMAPI-78f28357e4f87ed619144229ea65c1e1cb0f9dd3.zip |
update code for SDV 1.4 (#638)
Diffstat (limited to 'src/SMAPI.Mods.ConsoleCommands/Framework/Commands')
-rw-r--r-- | src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs index ad11cc66..1706bbc1 100644 --- a/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs +++ b/src/SMAPI.Mods.ConsoleCommands/Framework/Commands/Player/SetMoneyCommand.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using StardewValley; namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player @@ -65,7 +65,7 @@ namespace StardewModdingAPI.Mods.ConsoleCommands.Framework.Commands.Player public override void Update(IMonitor monitor) { if (this.InfiniteMoney) - Game1.player.money = 999999; + Game1.player.Money = 999999; } } } |