Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
Fixed -nojline.
Dieser Commit ist enthalten in:
Ursprung
962f05821b
Commit
480c1b9877
@ -12,7 +12,7 @@ import joptsimple.OptionSet;
|
|||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
|
|
||||||
public class Main {
|
public class Main {
|
||||||
public static String jlineTerminalSetting = System.getProperty("jline.terminal");
|
public static String jlineTerminalSetting;
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
// Todo: Installation script
|
// Todo: Installation script
|
||||||
@ -92,6 +92,7 @@ public class Main {
|
|||||||
System.setProperty("jline.terminal", "jline.UnsupportedTerminal");
|
System.setProperty("jline.terminal", "jline.UnsupportedTerminal");
|
||||||
System.setProperty("user.language", "en");
|
System.setProperty("user.language", "en");
|
||||||
}
|
}
|
||||||
|
jlineTerminalSetting = System.getProperty("jline.terminal");
|
||||||
MinecraftServer.main(options);
|
MinecraftServer.main(options);
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
t.printStackTrace();
|
t.printStackTrace();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren