From e94328935de4adfa1b986807ad8b50bc6156a25e Mon Sep 17 00:00:00 2001 From: Andre601 Date: Sun, 25 Feb 2024 14:42:48 +0100 Subject: [PATCH] Add Plugin Authors to /papi dump --- .../clip/placeholderapi/commands/impl/local/CommandDump.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandDump.java b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandDump.java index 6d236d1..2d9ead8 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandDump.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandDump.java @@ -200,7 +200,9 @@ public final class CommandDump extends PlaceholderCommand { for (final Plugin other : plugins) { builder.append(" ") .append(String.format("%-" + size + "s", other.getName())) - .append(" [Version: ") + .append(" [Authors: [") + .append(String.join(", ", other.getDescription().getAuthors())) + .append("], Version: ") .append(other.getDescription().getVersion()) .append("]") .append("\n");