diff options
author | md_5 <git@md-5.net> | 2017-01-31 21:39:17 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-01-31 21:39:17 +1100 |
commit | 5ae629285eafa5c27b23aef5b728345680471a10 (patch) | |
tree | b1087a342029835dac64cf50b2fc80f6133ac5f5 /src | |
parent | ed8a073298b9ca89b9b378f2c0308fdd6e02a8a2 (diff) | |
download | craftbukkit-5ae629285eafa5c27b23aef5b728345680471a10.tar craftbukkit-5ae629285eafa5c27b23aef5b728345680471a10.tar.gz craftbukkit-5ae629285eafa5c27b23aef5b728345680471a10.tar.lz craftbukkit-5ae629285eafa5c27b23aef5b728345680471a10.tar.xz craftbukkit-5ae629285eafa5c27b23aef5b728345680471a10.zip |
Increase expiration time to two weeks.
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 f9760b67..4467eee9 100644 --- a/src/main/java/org/bukkit/craftbukkit/Main.java +++ b/src/main/java/org/bukkit/craftbukkit/Main.java @@ -173,7 +173,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, -10); + deadline.add(Calendar.DAY_OF_YEAR, -14); 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/ ***"); |