Skip to content

Commit

Permalink
1.20.3-pre3
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphiMC committed Nov 27, 2023
1 parent 816eaa9 commit c895f8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private static void initMaps(CallbackInfo ci) {
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;"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
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;
Expand Down Expand Up @@ -62,7 +63,7 @@ public void initialize(Bootstrap bootstrap) {
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())
Expand Down

0 comments on commit c895f8a

Please sign in to comment.