Prevents jars from being built as part of jar downloading
All checks were successful
KnarCraft/Minecraft-Server-Launcher/pipeline/head This commit looks good

This commit is contained in:
2021-08-03 10:16:43 +02:00
parent e4be75b770
commit 33795a90a9
3 changed files with 8 additions and 8 deletions

View File

@ -60,6 +60,9 @@ public final class JarDownloader {
continue;
}
for (String version : type.getVersions()) {
if ((type.getName().equals("Spigot") || type.getName().equals("Bukkit")) && version.equals("Latest")) {
continue;
}
gui.setStatus("Downloading " + type.getName() + version + "...");
boolean success = type.downloadJar(jarDirectory, version);
if (!success) {