From dbb6aebf5889128d84fc85aec51030f8b73dc9e2 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 17 Jun 2013 16:29:21 +1000 Subject: [PATCH] #3 windows fix --- proxy/pom.xml | 6 ------ proxy/src/main/java/net/md_5/bungee/BungeeCord.java | 4 +--- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/proxy/pom.xml b/proxy/pom.xml index 18ad0a73..d60d269e 100644 --- a/proxy/pom.xml +++ b/proxy/pom.xml @@ -61,12 +61,6 @@ 5.1.24 runtime - - org.fusesource.jansi - jansi - 1.11 - compile - org.javassist javassist diff --git a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java index b87ca8b3..fd6da5fd 100644 --- a/proxy/src/main/java/net/md_5/bungee/BungeeCord.java +++ b/proxy/src/main/java/net/md_5/bungee/BungeeCord.java @@ -63,7 +63,6 @@ import net.md_5.bungee.protocol.Vanilla; import net.md_5.bungee.scheduler.BungeeThreadPool; import net.md_5.bungee.tab.Custom; import net.md_5.bungee.util.CaseInsensitiveMap; -import org.fusesource.jansi.AnsiConsole; /** * Main BungeeCord proxy class. @@ -152,11 +151,10 @@ public class BungeeCord extends ProxyServer public BungeeCord() throws IOException { - AnsiConsole.systemInstall(); try { consoleReader = new ConsoleReader(); - } catch ( Exception ex ) + } catch ( Throwable t ) { System.setProperty( "jline.terminal", "jline.UnsupportedTerminal" ); consoleReader = new ConsoleReader();