Compare commits
5 Commits
ca46a20671
...
94a9d84ba0
Author | SHA1 | Date |
---|---|---|
Yomamaeatstoes | 94a9d84ba0 | |
Gabriel Dumitru | 882b7c5965 | |
Gabriel Dumitru | 7a0be5edf8 | |
Andre601 | e94328935d | |
Ricardo Borutta | 403622d205 |
|
@ -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) player, params);
|
||||
return onPlaceholderRequest(player.getPlayer(), params);
|
||||
}
|
||||
|
||||
return onPlaceholderRequest(null, params);
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue