Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 94a9d84

Browse files
Merge branch 'PlaceholderAPI:master' into master
2 parents ca46a20 + 882b7c5 commit 94a9d84

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/me/clip/placeholderapi/PlaceholderHook.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public abstract class PlaceholderHook {
2929
@Nullable
3030
public String onRequest(final OfflinePlayer player, @NotNull final String params) {
3131
if (player != null && player.isOnline()) {
32-
return onPlaceholderRequest((Player) player, params);
32+
return onPlaceholderRequest(player.getPlayer(), params);
3333
}
3434

3535
return onPlaceholderRequest(null, params);

src/main/java/me/clip/placeholderapi/commands/impl/local/CommandDump.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,9 @@ private String makeDump(@NotNull final PlaceholderAPIPlugin plugin) {
200200
for (final Plugin other : plugins) {
201201
builder.append(" ")
202202
.append(String.format("%-" + size + "s", other.getName()))
203-
.append(" [Version: ")
203+
.append(" [Authors: [")
204+
.append(String.join(", ", other.getDescription().getAuthors()))
205+
.append("], Version: ")
204206
.append(other.getDescription().getVersion())
205207
.append("]")
206208
.append("\n");

0 commit comments

Comments
 (0)