Paper/Spigot-Server-Patches/0194-Change-Outdated-Build-Download-URL-to-Paper-CI.patch

23 Zeilen
1.1 KiB
Diff

2017-02-02 05:48:16 +01:00
From 118950ef18b4a7c075dfeaa7c1a46b33b35564a3 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Thu, 29 Dec 2016 00:56:51 -0500
Subject: [PATCH] Change Outdated Build Download URL to Paper CI
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
2017-02-02 05:48:16 +01:00
index 59d4e2e6f..e4ec213e4 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -200,7 +200,7 @@ public class Main {
2017-02-02 05:48:16 +01:00
deadline.add(Calendar.DAY_OF_YEAR, -14);
if (buildDate.before(deadline.getTime())) {
System.err.println("*** Error, this build is outdated ***");
- System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/ ***");
+ System.err.println("*** Please download a new build as per instructions from https://paperci.emc.gs/ ***"); // Paper
System.err.println("*** Server will start in 15 seconds ***");
Thread.sleep(TimeUnit.SECONDS.toMillis(15));
}
--
2017-01-29 00:36:03 +01:00
2.11.0