Skip to content

Commit

Permalink
NukkitX PR 2139 - Implement delimiter for plugin authors in the versi…
Browse files Browse the repository at this point in the history
…on command
  • Loading branch information
lt-name committed Aug 13, 2023
1 parent 57f2d48 commit 98c79b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public boolean execute(CommandSender sender, String commandLabel, String[] args)
if (authors.size() == 1) {
sender.sendMessage("Author: " + authorsString[0]);
} else if (authors.size() >= 2) {
sender.sendMessage("Authors: " + authorsString[0]);
sender.sendMessage("Authors: " + String.join(", ", authors));
}
} else {
sender.sendMessage(new TranslationContainer("nukkit.command.version.noSuchPlugin"));
Expand Down

0 comments on commit 98c79b6

Please sign in to comment.