33 Zeilen
1.8 KiB
Diff
33 Zeilen
1.8 KiB
Diff
|
Index: src/main/java/org/bukkit/craftbukkit/Main.java
|
||
|
IDEA additional info:
|
||
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
||
|
<+>UTF-8
|
||
|
===================================================================
|
||
|
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)
|
||
|
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java (revision 12c3f23057841f2868e5fcf4a4a836b73e52b1bb)
|
||
|
@@ -181,23 +181,6 @@
|
||
|
System.setProperty(jline.TerminalFactory.JLINE_TERMINAL, jline.UnsupportedTerminal.class.getName());
|
||
|
}
|
||
|
|
||
|
- 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) {
|