Whoops, testing code
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
80cdeac288
commit
e2327f48c3
1 changed files with 0 additions and 1 deletions
|
@ -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]);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue