geforkt von Mirrors/Paper
Update version command
Dieser Commit ist enthalten in:
Ursprung
ee5f98a67d
Commit
a8ea2247fb
@ -72,7 +72,7 @@ index 72c5501e..c0ff133d 100644
|
||||
// Paper end
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/command/defaults/VersionCommand.java b/src/main/java/org/bukkit/command/defaults/VersionCommand.java
|
||||
index 9d8360f7..9a3bb0e9 100644
|
||||
index 9d8360f7..b3345cba 100644
|
||||
--- a/src/main/java/org/bukkit/command/defaults/VersionCommand.java
|
||||
+++ b/src/main/java/org/bukkit/command/defaults/VersionCommand.java
|
||||
@@ -0,0 +0,0 @@
|
||||
@ -98,6 +98,16 @@ index 9d8360f7..9a3bb0e9 100644
|
||||
public VersionCommand(@NotNull String name) {
|
||||
super(name);
|
||||
|
||||
@@ -0,0 +0,0 @@ public class VersionCommand extends BukkitCommand {
|
||||
|
||||
if (args.length == 0) {
|
||||
sender.sendMessage("This server is running " + Bukkit.getName() + " version " + Bukkit.getVersion() + " (Implementing API version " + Bukkit.getBukkitVersion() + ")");
|
||||
- sender.sendMessage(ChatColor.YELLOW + "This is a final build for 1.14.4. Please see https://www.spigotmc.org/go/1.14.4 for details about upgrading.");
|
||||
- // sendVersion(sender);
|
||||
+ sendVersion(sender); // Paper - Not dead yet, Jim!
|
||||
} else {
|
||||
StringBuilder name = new StringBuilder();
|
||||
|
||||
@@ -0,0 +0,0 @@ public class VersionCommand extends BukkitCommand {
|
||||
|
||||
private void sendVersion(@NotNull CommandSender sender) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren