Skip to content

Commit

Permalink
fix: use correct args position for shovel command
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw authored Dec 11, 2023
1 parent 414846f commit 32e7119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lc-hax/Scripts/Commands/ShovelCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public void Execute(string[] args) {
return;
}

Settings.ShovelHitForce = int.TryParse(args[1], out int shovelHitForce) ? shovelHitForce : Settings.ShovelHitForce;
Settings.ShovelHitForce = int.TryParse(args[0], out int shovelHitForce) ? shovelHitForce : Settings.ShovelHitForce;
}
}

0 comments on commit 32e7119

Please sign in to comment.