diff options
author | md_5 <git@md-5.net> | 2016-12-01 10:19:09 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-12-01 10:19:09 +1100 |
commit | 4d99feddd02b4402a9c6fe9514525e0534a3135d (patch) | |
tree | 5378b3569a3d9bf205eb0b0a9378483b3a83a921 /src/main/java/org | |
parent | eb6c1bf31a29bf3880f6e496f5e4ea52e1bdf291 (diff) | |
download | craftbukkit-4d99feddd02b4402a9c6fe9514525e0534a3135d.tar craftbukkit-4d99feddd02b4402a9c6fe9514525e0534a3135d.tar.gz craftbukkit-4d99feddd02b4402a9c6fe9514525e0534a3135d.tar.lz craftbukkit-4d99feddd02b4402a9c6fe9514525e0534a3135d.tar.xz craftbukkit-4d99feddd02b4402a9c6fe9514525e0534a3135d.zip |
Reduce outdated build delay further.
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/Main.java | 6 |
1 files 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 dc7c503f..f9760b67 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)); } } |