13
0
geforkt von Mirrors/Paper

Whoops, testing code

By: Thinkofdeath <thinkofdeath@spigotmc.org>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2014-12-27 22:53:04 +00:00
Ursprung 80cdeac288
Commit e2327f48c3

Datei anzeigen

@ -185,7 +185,6 @@ public class VersionCommand extends BukkitCommand {
private void obtainVersion() { private void obtainVersion() {
String version = Bukkit.getVersion(); String version = Bukkit.getVersion();
if (version == null) version = "Custom"; if (version == null) version = "Custom";
version = "git-Spigot-5ffe41c-89ebcc2";
if (version.startsWith("git-Spigot-")) { if (version.startsWith("git-Spigot-")) {
String[] parts = version.substring("git-Spigot-".length()).split("-"); String[] parts = version.substring("git-Spigot-".length()).split("-");
int cbVersions = getDistance("craftbukkit", parts[1]); int cbVersions = getDistance("craftbukkit", parts[1]);