Whoops, testing code

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot 2014-12-27 22:53:04 +00:00
parent 80cdeac288
commit e2327f48c3

View File

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