From cdb1ad2ffe922bd50f3eab74e449907d80d00fde Mon Sep 17 00:00:00 2001 From: "Aidan C. Brady" Date: Mon, 21 Jul 2014 19:45:14 -0400 Subject: [PATCH] Attempted a fix for a strange connection error --- src/main/java/mekanism/client/ClientConnectionHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/mekanism/client/ClientConnectionHandler.java b/src/main/java/mekanism/client/ClientConnectionHandler.java index c79c50e2a..25b53d9c3 100644 --- a/src/main/java/mekanism/client/ClientConnectionHandler.java +++ b/src/main/java/mekanism/client/ClientConnectionHandler.java @@ -23,7 +23,7 @@ public class ClientConnectionHandler try { MekanismClient.voiceClient = new VoiceClient("127.0.0.1"); //Will probably not work when multiple integrateds are running on one computer - } catch(Exception e) { + } catch(Throwable e) { Mekanism.logger.error("Unable to establish VoiceClient on local connection."); e.printStackTrace(); } @@ -32,7 +32,7 @@ public class ClientConnectionHandler //If the client is connecting to a foreign integrated or dedicated server. try { MekanismClient.voiceClient = new VoiceClient(((InetSocketAddress)event.manager.getSocketAddress()).getHostString()); - } catch(Exception e) { + } catch(Throwable e) { Mekanism.logger.error("Unable to establish VoiceClient on remote connection."); e.printStackTrace(); }