diff options
author | md_5 <git@md-5.net> | 2018-11-28 15:22:20 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-11-28 15:22:20 +1100 |
commit | 282dad196d6cc47011d0c731fe1bbb8407f0d91c (patch) | |
tree | 7023da8af835cc0aa01ccc7cfae4a064033db361 /src | |
parent | ee6684bba725a6d2f30422ae01041f3949ff2d76 (diff) | |
download | craftbukkit-282dad196d6cc47011d0c731fe1bbb8407f0d91c.tar craftbukkit-282dad196d6cc47011d0c731fe1bbb8407f0d91c.tar.gz craftbukkit-282dad196d6cc47011d0c731fe1bbb8407f0d91c.tar.lz craftbukkit-282dad196d6cc47011d0c731fe1bbb8407f0d91c.tar.xz craftbukkit-282dad196d6cc47011d0c731fe1bbb8407f0d91c.zip |
Tweak outdated windows
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java index c7f44532..07682e98 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -181,7 +181,7 @@ 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, -21); 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/ ***"); |