diff options
author | md_5 <git@md-5.net> | 2018-09-22 17:14:27 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-09-22 17:14:27 +1000 |
commit | 65bb2d0f7d4d1581a11717784d8c6b6dc023fa91 (patch) | |
tree | a7c889ba726296980bd764deb19a98f86825e11f | |
parent | 88a5346feafd9517adb9347be6233460dbf45744 (diff) | |
download | craftbukkit-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.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 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/ ***"); |