mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 11:55:24 +01:00
1.20.3-pre3
This commit is contained in:
parent
816eaa91d4
commit
c895f8a228
@ -53,8 +53,8 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
include "com.viaversion:viaversion-common:4.9.0-1.20.3-pre2-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:4.9.0-1.20.3-pre1-SNAPSHOT"
|
||||
include "com.viaversion:viaversion-common:4.9.0-1.20.3-pre3-SNAPSHOT"
|
||||
include "com.viaversion:viabackwards-common:4.9.0-1.20.3-pre3-SNAPSHOT"
|
||||
include "com.viaversion:viarewind-common:3.0.4-SNAPSHOT"
|
||||
include("net.raphimc:ViaLegacy:2.2.21-SNAPSHOT") {
|
||||
exclude group: "net.lenni0451.mcstructs", module: "text"
|
||||
|
@ -51,7 +51,7 @@ public abstract class MixinProtocolVersion {
|
||||
remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
|
||||
remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
|
||||
remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
|
||||
remaps.put("1.20.3", new Pair<>("1.20.3-pre2", null));
|
||||
remaps.put("1.20.3", new Pair<>("1.20.3-pre3", null));
|
||||
}
|
||||
|
||||
@Redirect(method = "<clinit>", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))
|
||||
|
@ -30,6 +30,7 @@ import net.raphimc.netminecraft.constants.ConnectionState;
|
||||
import net.raphimc.netminecraft.constants.MCPipeline;
|
||||
import net.raphimc.netminecraft.util.LazyLoadBase;
|
||||
import net.raphimc.netminecraft.util.ServerAddress;
|
||||
import net.raphimc.viabedrock.protocol.data.ProtocolConstants;
|
||||
import net.raphimc.vialoader.netty.VLPipeline;
|
||||
import net.raphimc.vialoader.netty.viabedrock.PingEncapsulationCodec;
|
||||
import net.raphimc.vialoader.util.VersionEnum;
|
||||
@ -62,7 +63,7 @@ public class BedrockProxyConnection extends ProxyConnection {
|
||||
bootstrap
|
||||
.option(RakChannelOption.CONNECT_TIMEOUT_MILLIS, 4_000)
|
||||
.option(RakChannelOption.IP_TOS, 0x18)
|
||||
.option(RakChannelOption.RAK_PROTOCOL_VERSION, 11)
|
||||
.option(RakChannelOption.RAK_PROTOCOL_VERSION, ProtocolConstants.BEDROCK_RAKNET_PROTOCOL_VERSION)
|
||||
.option(RakChannelOption.RAK_CONNECT_TIMEOUT, 4_000L)
|
||||
.option(RakChannelOption.RAK_SESSION_TIMEOUT, 30_000L)
|
||||
.option(RakChannelOption.RAK_GUID, ThreadLocalRandom.current().nextLong())
|
||||
|
Loading…
Reference in New Issue
Block a user