Compare commits

..

1 Commits

2 changed files with 2 additions and 4 deletions

@ -29,7 +29,7 @@ public abstract class PlaceholderHook {
@Nullable
public String onRequest(final OfflinePlayer player, @NotNull final String params) {
if (player != null && player.isOnline()) {
return onPlaceholderRequest(player.getPlayer(), params);
return onPlaceholderRequest((Player) player, params);
}
return onPlaceholderRequest(null, params);

@ -200,9 +200,7 @@ public final class CommandDump extends PlaceholderCommand {
for (final Plugin other : plugins) {
builder.append(" ")
.append(String.format("%-" + size + "s", other.getName()))
.append(" [Authors: [")
.append(String.join(", ", other.getDescription().getAuthors()))
.append("], Version: ")
.append(" [Version: ")
.append(other.getDescription().getVersion())
.append("]")
.append("\n");