mirror of
https://github.com/PaperMC/Waterfall.git
synced 2024-09-06 11:48:05 +02:00
27 lines
1.5 KiB
Diff
27 lines
1.5 KiB
Diff
From f63e39c39c6bb7705cfe798189a01579beab115a Mon Sep 17 00:00:00 2001
|
|
From: Jamie Mansfield <dev@jamierocks.uk>
|
|
Date: Sat, 10 Jun 2017 20:56:02 +0100
|
|
Subject: [PATCH] Improve outdated build message
|
|
|
|
|
|
diff --git a/bootstrap/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/bootstrap/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
|
|
index 8766e04b..ce1dd7a3 100644
|
|
--- a/bootstrap/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
|
|
+++ b/bootstrap/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
|
|
@@ -41,9 +41,9 @@ public class BungeeCordLauncher
|
|
deadline.add( Calendar.WEEK_OF_YEAR, -4 );
|
|
if ( buildDate.before( deadline.getTime() ) )
|
|
{
|
|
- System.err.println( "*** Warning, this build is outdated ***" );
|
|
- System.err.println( "*** Please download a new build from https://ci.destroystokyo.com/job/Waterfall/ ***" );
|
|
- System.err.println( "*** You will get NO support regarding this build ***" );
|
|
+ System.err.println( "*** Hey! This build is potentially outdated :( ***" );
|
|
+ System.err.println( "*** Please check for a new build from https://ci.destroystokyo.com/job/Waterfall/ ***" );
|
|
+ System.err.println( "*** Should this build be outdated, you will get NO support for it. ***" );
|
|
System.err.println( "*** Server will start in 10 seconds ***" );
|
|
Thread.sleep( TimeUnit.SECONDS.toMillis( 10 ) );
|
|
}
|
|
--
|
|
2.13.0
|
|
|