diff options
author | md_5 <git@md-5.net> | 2017-01-09 10:38:33 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-01-09 10:38:33 +1100 |
commit | 730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5 (patch) | |
tree | 2872e493c798e5537382d63a7dd0b0a867f9aa15 /src/main/java/org | |
parent | d5e7885c2e3c6a9bf6ba2af51896800d748877ad (diff) | |
download | craftbukkit-730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5.tar craftbukkit-730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5.tar.gz craftbukkit-730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5.tar.lz craftbukkit-730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5.tar.xz craftbukkit-730bb6ac836bdcd11b7b81e4c30a641a03f4b7f5.zip |
10 day build expire
Diffstat (limited to 'src/main/java/org')
-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 e65928a8..f9760b67 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, -7); + 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/ ***"); |