Work on client stuff a bit.

This commit is contained in:
Ben Spiers committed 2016-01-19 20:26:45 +00:00
1 parent fce1acae09
commit 956dab666d
14 files changed
+151 -130

No files matched your search

@@ -33,7 +33,7 @@ public class ClientConnectionHandler
else {
//If the client is connecting to a foreign integrated or dedicated server.
try {
MekanismClient.voiceClient = new VoiceClient(((InetSocketAddress)event.manager.getSocketAddress()).getHostString());
MekanismClient.voiceClient = new VoiceClient(((InetSocketAddress)event.manager/*TODO is this right?*/.getRemoteAddress()).getHostString());
} catch(Throwable e) {
Mekanism.logger.error("Unable to establish VoiceClient on remote connection.");
e.printStackTrace();