mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] Исправление работы JLine
This commit is contained in:
parent
21434b4ed6
commit
179733a987
4 changed files with 4 additions and 4 deletions
|
@ -481,7 +481,7 @@ public LaunchServer(Path dir, boolean testEnv, String[] args) throws IOException
|
|||
localCommandHandler = new StdCommandHandler(false);
|
||||
else
|
||||
try {
|
||||
Class.forName("jline.Terminal");
|
||||
Class.forName("org.jline.terminal.Terminal");
|
||||
|
||||
// JLine2 available
|
||||
localCommandHandler = new JLineCommandHandler();
|
||||
|
|
|
@ -20,7 +20,7 @@ public static void main(String[] args) throws IOException {
|
|||
LogHelper.warning("Permission canAdmin not found");
|
||||
}
|
||||
try {
|
||||
Class.forName("jline.Terminal");
|
||||
Class.forName("org.jline.terminal.Terminal");
|
||||
|
||||
// JLine2 available
|
||||
commandHandler = new JLineCommandHandler();
|
||||
|
|
|
@ -23,7 +23,7 @@ public static void initConsole() throws IOException
|
|||
{
|
||||
CommandHandler localCommandHandler;
|
||||
try {
|
||||
Class.forName("jline.Terminal");
|
||||
Class.forName("org.jline.terminal.Terminal");
|
||||
|
||||
// JLine2 available
|
||||
localCommandHandler = new JLineCommandHandler();
|
||||
|
|
|
@ -22,7 +22,7 @@ public ServerWrapperCommands() throws IOException {
|
|||
// Set command handler
|
||||
CommandHandler localCommandHandler;
|
||||
try {
|
||||
Class.forName("jline.Terminal");
|
||||
Class.forName("org.jline.terminal.Terminal");
|
||||
|
||||
// JLine2 available
|
||||
localCommandHandler = new JLineCommandHandler();
|
||||
|
|
Loading…
Reference in a new issue