diff options
author | md_5 <git@md-5.net> | 2018-08-03 09:13:30 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-03 09:13:30 +1000 |
commit | 2f17f677aae3db7e10ee61a676aa9aee01c30ecb (patch) | |
tree | 08fbd465acbb69f5dfa01090f83ed64533c6b4dd /src/main/java/org | |
parent | 5d489ff4ee40b985352250acc69d56664a2ea2b4 (diff) | |
download | craftbukkit-2f17f677aae3db7e10ee61a676aa9aee01c30ecb.tar craftbukkit-2f17f677aae3db7e10ee61a676aa9aee01c30ecb.tar.gz craftbukkit-2f17f677aae3db7e10ee61a676aa9aee01c30ecb.tar.lz craftbukkit-2f17f677aae3db7e10ee61a676aa9aee01c30ecb.tar.xz craftbukkit-2f17f677aae3db7e10ee61a676aa9aee01c30ecb.zip |
Tweak outdated windows
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 3fecc796..452d236e 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -181,12 +181,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, -3); + deadline.add(Calendar.DAY_OF_YEAR, -5); 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 15 seconds ***"); - Thread.sleep(TimeUnit.SECONDS.toMillis(15)); + System.err.println("*** Server will start in 20 seconds ***"); + Thread.sleep(TimeUnit.SECONDS.toMillis(20)); } } |