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