From 644987eadd6df1227e4e5b92f904e2c27ebc631e Mon Sep 17 00:00:00 2001 From: FlorianMichael <60033407+FlorianMichael@users.noreply.github.com> Date: Thu, 26 Oct 2023 09:31:09 +0200 Subject: [PATCH] Updated Via* Added 23w43a support --- build.gradle | 4 ++-- .../viaproxy/injection/mixins/MixinProtocolVersion.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index b52cbed..70c21e0 100644 --- a/build.gradle +++ b/build.gradle @@ -53,8 +53,8 @@ repositories { } dependencies { - include "com.viaversion:viaversion:4.9.0-23w42a-SNAPSHOT" - include("com.viaversion:viabackwards-common:4.9.0-23w42a-SNAPSHOT") { + include "com.viaversion:viaversion:4.9.0-23w43a-SNAPSHOT" + include("com.viaversion:viabackwards-common:4.9.0-23w43a-SNAPSHOT") { exclude group: "com.viaversion", module: "viaversion" exclude group: "io.netty", module: "netty-all" exclude group: "com.google.guava", module: "guava" diff --git a/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java b/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java index 3f6f075..2fd1f23 100644 --- a/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java +++ b/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java @@ -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<>("23w41a", null)); + remaps.put("1.20.3", new Pair<>("23w43a", null)); } @Redirect(method = "", at = @At(value = "INVOKE", target = "Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;register(ILjava/lang/String;)Lcom/viaversion/viaversion/api/protocol/version/ProtocolVersion;"))