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

View File

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