mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-12-24 17:47:41 +01:00
Increase outdated build delay to 8 weeks
This commit is contained in:
parent
5c6bc183fd
commit
34febec65f
@ -45,7 +45,7 @@ public class BungeeCordLauncher
|
||||
Date buildDate = new SimpleDateFormat( "yyyyMMdd" ).parse( BungeeCord.class.getPackage().getSpecificationVersion() );
|
||||
|
||||
Calendar deadline = Calendar.getInstance();
|
||||
deadline.add( Calendar.WEEK_OF_YEAR, -4 );
|
||||
deadline.add( Calendar.WEEK_OF_YEAR, -8 );
|
||||
if ( buildDate.before( deadline.getTime() ) )
|
||||
{
|
||||
System.err.println( "*** Warning, this build is outdated ***" );
|
||||
|
Loading…
Reference in New Issue
Block a user