13
0
geforkt von Mirrors/Paper

Revert "Fix errors on startup when double clicking jar (#2901)"

This reverts commit bd700c2f78.
Dieser Commit ist enthalten in:
Shane Freeder 2020-01-24 21:30:15 +00:00
Ursprung bd700c2f78
Commit 3e30f3aef0
3 geänderte Dateien mit 4 neuen und 6 gelöschten Zeilen

Datei anzeigen

@ -28,7 +28,7 @@ index 93c1a04bc..663eacfe2 100644
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
index 999361e34..5fee3f9a9 100644
index 886900006..0411fb3ee 100644
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
@@ -0,0 +0,0 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer

Datei anzeigen

@ -143,7 +143,7 @@ index 000000000..685deaa0e
+
+}
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
index a78896dc8..999361e34 100644
index a78896dc8..886900006 100644
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
@@ -0,0 +0,0 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer
@ -151,9 +151,7 @@ index a78896dc8..999361e34 100644
return;
}
+ // Paper start - Use TerminalConsoleAppender
+ if (System.console() != null) {
+ new com.destroystokyo.paper.console.PaperConsole(DedicatedServer.this).start();
+ }
+ new com.destroystokyo.paper.console.PaperConsole(DedicatedServer.this).start();
+ /*
jline.console.ConsoleReader bufferedreader = reader;
// CraftBukkit end

Datei anzeigen

@ -6,7 +6,7 @@ Subject: [PATCH] Use a Queue for Queueing Commands
Lists are bad as Queues mmmkay.
diff --git a/src/main/java/net/minecraft/server/DedicatedServer.java b/src/main/java/net/minecraft/server/DedicatedServer.java
index 5fee3f9a9..d9dee47f8 100644
index 0411fb3ee..a74fae9ed 100644
--- a/src/main/java/net/minecraft/server/DedicatedServer.java
+++ b/src/main/java/net/minecraft/server/DedicatedServer.java
@@ -0,0 +0,0 @@ public class DedicatedServer extends MinecraftServer implements IMinecraftServer