mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
More error fixes, down to 11!
This commit is contained in:
1 parent
1933723b52
commit
295efab7b2
8 files changed
+42
-51
No files matched your search
@@ -17,17 +17,16 @@ public class ClientConnectionHandler
|
||||
{
|
||||
if(event.isLocal)
|
||||
{
|
||||
connectionOpened();
|
||||
localConnection();
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
//TODO this is probably wrong
|
||||
connectionOpened(event.manager.getSocketAddress().toString());
|
||||
remoteConnection(event.manager.getSocketAddress().toString());
|
||||
}
|
||||
}
|
||||
|
||||
/* Remote */
|
||||
public void connectionOpened(String server)
|
||||
public void remoteConnection(String server)
|
||||
{
|
||||
if(Mekanism.voiceServerEnabled)
|
||||
{
|
||||
@@ -38,7 +37,7 @@ public class ClientConnectionHandler
|
||||
}
|
||||
|
||||
/* Integrated */
|
||||
public void connectionOpened()
|
||||
public void localConnection()
|
||||
{
|
||||
if(Mekanism.voiceServerEnabled)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user