Waterfall/BungeeCord-Patches/0034-Improve-outdated-build-message.patch

27 lines
1.4 KiB
Diff
Raw Normal View History

2021-01-11 17:33:57 +01:00
From 6b65cdbb77af57bb0c447cfbf2c8e0b0f5e129af Mon Sep 17 00:00:00 2001
2017-06-10 21:57:00 +02:00
From: Jamie Mansfield <dev@jamierocks.uk>
Date: Sat, 10 Jun 2017 20:56:02 +0100
Subject: [PATCH] Improve outdated build message
2018-12-21 16:24:26 +01:00
diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java b/proxy/src/main/java/net/md_5/bungee/BungeeCordLauncher.java
2021-01-11 17:33:57 +01:00
index 4ba0ced5..a4fe8aad 100644
2018-12-21 16:24:26 +01:00
--- 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 );
2017-06-10 21:57:00 +02:00
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 :( ***" );
2021-01-11 17:33:57 +01:00
+ System.err.println( "*** Please check for a new build from https://papermc.io/downloads ***" );
2017-06-10 21:57:00 +02:00
+ 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 ) );
}
--
2021-01-11 17:33:57 +01:00
2.29.2
2017-06-10 21:57:00 +02:00