mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +01:00
Whoops, testing code
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
80cdeac288
commit
e2327f48c3
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user