mirror of
https://github.com/Eaglercraft-Archive/Eaglercraftx-1.8.8-src.git
synced 2025-06-27 18:38:14 -05:00
Update #42 - Fixed several WebRTC bugs and other issues
This commit is contained in:
@ -10,8 +10,8 @@ import net.lax1dude.eaglercraft.v1_8.EagRuntime;
|
||||
import net.lax1dude.eaglercraft.v1_8.EaglerInputStream;
|
||||
import net.lax1dude.eaglercraft.v1_8.EaglerOutputStream;
|
||||
import net.lax1dude.eaglercraft.v1_8.internal.PlatformApplication;
|
||||
import net.lax1dude.eaglercraft.v1_8.internal.PlatformWebRTC;
|
||||
import net.lax1dude.eaglercraft.v1_8.sp.relay.RelayManager;
|
||||
import net.lax1dude.eaglercraft.v1_8.sp.relay.RelayQueryDispatch;
|
||||
import net.lax1dude.eaglercraft.v1_8.sp.relay.RelayServerSocket;
|
||||
import net.lax1dude.eaglercraft.v1_8.sp.relay.pkt.RelayPacket00Handshake;
|
||||
import net.minecraft.client.Minecraft;
|
||||
@ -111,7 +111,7 @@ public class RelayUpdateChecker {
|
||||
private static void connect(RelayEntry socket) {
|
||||
try {
|
||||
socket.handshake = false;
|
||||
socket.currentSocket = PlatformWebRTC.openRelayConnection(socket.uri, 10000);
|
||||
socket.currentSocket = RelayQueryDispatch.openRelayConnection(socket.uri, 10000);
|
||||
if(socket.currentSocket.isClosed()) {
|
||||
socket.currentSocket = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user