Archiviert
13
0

Chaos-Patches #1

Zusammengeführt
Lixfel hat 4 Commits von chaos-patches nach master 2020-12-29 15:47:34 +01:00 zusammengeführt
Nur Änderungen aus Commit 5d63eb2ba5 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -4,29 +4,13 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8 <+>UTF-8
=================================================================== ===================================================================
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
--- a/src/main/java/org/bukkit/craftbukkit/Main.java (revision 163eed5a26a0c45590314f401c743ddc8adc92de) --- a/src/main/java/org/bukkit/craftbukkit/Main.java (revision 4461c18816eaad0e773b5c71bf2cf301819f80aa)
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java (revision 12c3f23057841f2868e5fcf4a4a836b73e52b1bb) +++ b/src/main/java/org/bukkit/craftbukkit/Main.java (revision dc1653b7c4cd3b6d8b2583896ec33ee430908002)
@@ -181,23 +181,6 @@ @@ -194,7 +194,6 @@
System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName()); System.err.println("*** Error, this build is outdated ***");
System.err.println("*** Please download a new build as per instructions from https://www.spigotmc.org/go/outdated-spigot ***");
System.err.println("*** Server will start in 20 seconds ***");
Review

Können wir wenn wir das warten rausschmeißen nicht auch die Nachricht davon rausnehmen?

Können wir wenn wir das warten rausschmeißen nicht auch die Nachricht davon rausnehmen?
- Thread.sleep(TimeUnit.SECONDS.toMillis(20));
}
} }
- if (options.has("noconsole")) {
- useConsole = false;
- }
-
- if (false && Main.class.getPackage().getImplementationVendor() != null && System.getProperty("IReallyKnowWhatIAmDoingISwear") == null) {
- Date buildDate = new Date(Integer.parseInt(Main.class.getPackage().getImplementationVendor()) * 1000L);
-
- Calendar deadline = Calendar.getInstance();
- deadline.add(Calendar.DAY_OF_YEAR, -21);
- 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/go/outdated-spigot ***");
- System.err.println("*** Server will start in 20 seconds ***");
- Thread.sleep(TimeUnit.SECONDS.toMillis(20));
- }
- }
-
System.out.println("Loading libraries, please wait...");
MinecraftServer.main(options);
} catch (Throwable t) {