summaryrefslogtreecommitdiff
path: root/src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs')
-rw-r--r--src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs b/src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs
index ad74499d..55e069a4 100644
--- a/src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs
+++ b/src/TrainerMod/Framework/Commands/Player/SetMoneyCommand.cs
@@ -32,7 +32,7 @@ namespace TrainerMod.Framework.Commands.Player
/// <param name="monitor">Writes messages to the console and log file.</param>
/// <param name="command">The command name.</param>
/// <param name="args">The command arguments.</param>
- public override void Handle(IMonitor monitor, string command, string[] args)
+ public override void Handle(IMonitor monitor, string command, ArgumentParser args)
{
// validate
if (!args.Any())
@@ -57,7 +57,7 @@ namespace TrainerMod.Framework.Commands.Player
monitor.Log($"OK, you now have {Game1.player.Money} gold.", LogLevel.Info);
}
else
- this.LogArgumentNotInt(monitor, command);
+ this.LogArgumentNotInt(monitor);
}
}