mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-26 10:59:43 -05:00
Update to Minecraft 1.11.1
This commit is contained in:
1 parent
c8ff65136f
commit
8ea0c87f51
29 files changed
+368
-334
No files matched your search
@@ -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, -3);
|
||||
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/ ***");
|
||||
|
||||
Reference in new issue
Block a user