geforkt von Mirrors/Paper
Updated Upstream (Bukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: b94b766f Improve /version command
Dieser Commit ist enthalten in:
Ursprung
4e38844029
Commit
c3bd6c65c6
@ -124,16 +124,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
private void obtainVersion() {
|
||||
String version = Bukkit.getVersion();
|
||||
- if (version == null) version = "Custom";
|
||||
+ // Paper start
|
||||
+ if (version.startsWith("null")) { // running from ide?
|
||||
+ setVersionMessage("Unknown version, custom build?");
|
||||
+ return;
|
||||
+ }
|
||||
+ /*
|
||||
if (version.startsWith("git-Spigot-")) {
|
||||
String[] parts = version.substring("git-Spigot-".length()).split("-");
|
||||
int cbVersions = getDistance("craftbukkit", parts[1].substring(0, parts[1].indexOf(' ')));
|
||||
if (version == null) version = "Custom";
|
||||
String[] parts = version.substring(0, version.indexOf(' ')).split("-");
|
||||
if (parts.length == 4) {
|
||||
@@ -0,0 +0,0 @@ public class VersionCommand extends BukkitCommand {
|
||||
} else {
|
||||
setVersionMessage("Unknown version, custom build?");
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 85b16b8a5f044eb8d38375c23e8968641d18a933
|
||||
Subproject commit b94b766f2285a5b55720a8aa72605e2e64b0330a
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren