Skip to content

Commit

Permalink
Add a command logging before executing visiting.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Aug 23, 2021
1 parent 794f00f commit 80466e4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -609,6 +609,7 @@ else if (this.addon.getSettings().isPaymentConfirmation() &&
// Get first player command label.
String command = this.addon.getSettings().getPlayerMainCommand().split(" ")[0];

this.addon.log(user.getName() + " called: `" + this.label + " " + command + " " + island.getOwner() + " bypass`");
// Confirmation is done via GUI. Bypass.
user.performCommand(this.label + " " + command + " " + island.getOwner() + " bypass");

Expand Down

0 comments on commit 80466e4

Please sign in to comment.