Skip to content

Commit

Permalink
fix(bukkit): use the command name rather than the label
Browse files Browse the repository at this point in the history
The label may contain the namespace prefix. This reverts a change introduced in #461.

(cherry picked from commit ad6b8d0)
  • Loading branch information
Citymonstret committed Dec 21, 2023
1 parent 4313f3d commit fcf9c75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public boolean execute(
final @NonNull String @NonNull [] strings
) {
/* Join input */
final StringBuilder builder = new StringBuilder(commandLabel);
final StringBuilder builder = new StringBuilder(this.command.name());
for (final String string : strings) {
builder.append(" ").append(string);
}
Expand Down

0 comments on commit fcf9c75

Please sign in to comment.