Waterfall/BungeeCord-Patches/0035-Improve-outdated-build-message.patch
Shane Freeder 0085381369
Updated Upstream (BungeeCord)
Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

BungeeCord Changes:
34febec6 Increase outdated build delay to 8 weeks
2019-08-17 21:47:53 +01:00

27 lines
1.5 KiB
Diff

From ccf2d098264af3f6482da258d2e1ccc3288d192d 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/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
index 4ba0ced5..4c119b9d 100644
--- a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
+++ b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
@@ -48,9 +48,9 @@ public class BungeeCordLauncher
deadline.add( Calendar.WEEK_OF_YEAR, -8 );
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://papermc.io/ci/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.22.0