mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
Fixed -nojline.
This commit is contained in:
parent
962f05821b
commit
480c1b9877
1 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ import joptsimple.OptionSet;
|
|||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
public class Main {
|
||||
public static String jlineTerminalSetting = System.getProperty("jline.terminal");
|
||||
public static String jlineTerminalSetting;
|
||||
|
||||
public static void main(String[] args) {
|
||||
// Todo: Installation script
|
||||
|
@ -92,6 +92,7 @@ public class Main {
|
|||
System.setProperty("jline.terminal", "jline.UnsupportedTerminal");
|
||||
System.setProperty("user.language", "en");
|
||||
}
|
||||
jlineTerminalSetting = System.getProperty("jline.terminal");
|
||||
MinecraftServer.main(options);
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue