Merge pull request #687 from PlaceholderAPI/java-version-dump

Add Java Version to /papi dump command
This commit is contained in:
PiggyPiglet 2021-12-03 11:40:11 +08:00 committed by GitHub
commit 894dcd0a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -179,6 +179,10 @@ public final class CommandDump extends PlaceholderCommand {
.append(plugin.getServer().getBukkitVersion())
.append('/')
.append(plugin.getServer().getVersion())
.append("\n");
builder.append("Java Version: ")
.append(System.getProperty("java.version"))
.append("\n\n");
builder.append("Plugin Info:")