mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 17:57:34 +01:00
Made /version output same as startup output
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
b2c01fec3c
commit
d29402070b
@ -24,8 +24,7 @@ public class VersionCommand extends Command {
|
||||
if (!testPermission(sender)) return true;
|
||||
|
||||
if (args.length == 0) {
|
||||
sender.sendMessage("This server is running " + ChatColor.GREEN + Bukkit.getName() + ChatColor.WHITE + " version " + ChatColor.GREEN + Bukkit.getVersion());
|
||||
sender.sendMessage("This server is also sporting some funky dev build of Bukkit!");
|
||||
sender.sendMessage("This server is running " + Bukkit.getName() + " version " + Bukkit.getVersion() + " (Implementing API version " + Bukkit.getBukkitVersion() + ")");
|
||||
} else {
|
||||
StringBuilder name = new StringBuilder();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user