mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 16:37:43 +01:00
Disable outdated build check
This commit is contained in:
committed by
granny
parent
187613f961
commit
913eed76d4
@@ -1,19 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: William Blake Galbreath <blake.galbreath@gmail.com>
|
|
||||||
Date: Sun, 15 Dec 2019 12:53:59 -0600
|
|
||||||
Subject: [PATCH] Disable outdated build check
|
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
||||||
index d313f3a9b31d4ecc3b48f8fc2e44d3b445e8e2c5..b8cacfbd6f8f3a37db21586f6febb55d42170e5b 100644
|
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
|
|
||||||
@@ -266,7 +266,7 @@ public class Main {
|
|
||||||
System.setProperty(net.minecrell.terminalconsole.TerminalConsoleAppender.JLINE_OVERRIDE_PROPERTY, "false"); // Paper
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
|
|
||||||
+ if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { // Purpur
|
|
||||||
Date buildDate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").parse(Main.class.getPackage().getImplementationVendor()); // Paper
|
|
||||||
|
|
||||||
Calendar deadline = Calendar.getInstance();
|
|
||||||
@@ -14,3 +14,12 @@
|
|||||||
// Paper start
|
// Paper start
|
||||||
acceptsAll(asList("server-name"), "Name of the server")
|
acceptsAll(asList("server-name"), "Name of the server")
|
||||||
.withRequiredArg()
|
.withRequiredArg()
|
||||||
|
@@ -259,7 +_,7 @@
|
||||||
|
System.setProperty(net.minecrell.terminalconsole.TerminalConsoleAppender.JLINE_OVERRIDE_PROPERTY, "false"); // Paper
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
|
||||||
|
+ if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) { // Purpur - Disable outdated build check
|
||||||
|
Date buildDate = new java.text.SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z").parse(Main.class.getPackage().getImplementationVendor()); // Paper
|
||||||
|
|
||||||
|
Calendar deadline = Calendar.getInstance();
|
||||||
|
|||||||
Reference in New Issue
Block a user