From 4d99feddd02b4402a9c6fe9514525e0534a3135d Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 1 Dec 2016 10:19:09 +1100 Subject: [PATCH] Reduce outdated build delay further. --- src/main/java/org/bukkit/craftbukkit/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index dc7c503f06..f9760b67c2 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -173,12 +173,12 @@ public class Main { Date buildDate = new SimpleDateFormat("yyyyMMdd-HHmm").parse(Main.class.getPackage().getImplementationVendor()); Calendar deadline = Calendar.getInstance(); - deadline.add(Calendar.DAY_OF_YEAR, -7); + deadline.add(Calendar.DAY_OF_YEAR, -10); if (buildDate.before(deadline.getTime())) { System.err.println("*** Error, this build is outdated ***"); System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/ ***"); - System.err.println("*** Server will start in 30 seconds ***"); - Thread.sleep(TimeUnit.SECONDS.toMillis(30)); + System.err.println("*** Server will start in 15 seconds ***"); + Thread.sleep(TimeUnit.SECONDS.toMillis(15)); } }