summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-09-22 17:14:27 +1000
committermd_5 <git@md-5.net>2018-09-22 17:14:27 +1000
commit65bb2d0f7d4d1581a11717784d8c6b6dc023fa91 (patch)
treea7c889ba726296980bd764deb19a98f86825e11f
parent88a5346feafd9517adb9347be6233460dbf45744 (diff)
downloadcraftbukkit-65bb2d0f7d4d1581a11717784d8c6b6dc023fa91.tar
craftbukkit-65bb2d0f7d4d1581a11717784d8c6b6dc023fa91.tar.gz
craftbukkit-65bb2d0f7d4d1581a11717784d8c6b6dc023fa91.tar.lz
craftbukkit-65bb2d0f7d4d1581a11717784d8c6b6dc023fa91.tar.xz
craftbukkit-65bb2d0f7d4d1581a11717784d8c6b6dc023fa91.zip
Increase expiration time to 10 days
-rw-r--r--src/main/java/org/bukkit/craftbukkit/Main.java2
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 452d236e..bf9137db 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, -5);
+ 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/ ***");