#3 windows fix

This commit is contained in:
md_5 2013-06-17 16:29:21 +10:00
parent 54040ec48d
commit dbb6aebf58
2 changed files with 1 additions and 9 deletions

View File

@ -61,12 +61,6 @@
<version>5.1.24</version> <version>5.1.24</version>
<scope>runtime</scope> <scope>runtime</scope>
</dependency> </dependency>
<dependency>
<groupId>org.fusesource.jansi</groupId>
<artifactId>jansi</artifactId>
<version>1.11</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.javassist</groupId> <groupId>org.javassist</groupId>
<artifactId>javassist</artifactId> <artifactId>javassist</artifactId>

View File

@ -63,7 +63,6 @@ import net.md_5.bungee.protocol.Vanilla;
import net.md_5.bungee.scheduler.BungeeThreadPool; import net.md_5.bungee.scheduler.BungeeThreadPool;
import net.md_5.bungee.tab.Custom; import net.md_5.bungee.tab.Custom;
import net.md_5.bungee.util.CaseInsensitiveMap; import net.md_5.bungee.util.CaseInsensitiveMap;
import org.fusesource.jansi.AnsiConsole;
/** /**
* Main BungeeCord proxy class. * Main BungeeCord proxy class.
@ -152,11 +151,10 @@ public class BungeeCord extends ProxyServer
public BungeeCord() throws IOException public BungeeCord() throws IOException
{ {
AnsiConsole.systemInstall();
try try
{ {
consoleReader = new ConsoleReader(); consoleReader = new ConsoleReader();
} catch ( Exception ex ) } catch ( Throwable t )
{ {
System.setProperty( "jline.terminal", "jline.UnsupportedTerminal" ); System.setProperty( "jline.terminal", "jline.UnsupportedTerminal" );
consoleReader = new ConsoleReader(); consoleReader = new ConsoleReader();