From b452cb60845f28b580649b4f31750adb3eb668ce Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Sun, 19 Nov 2023 23:57:17 +0100 Subject: [PATCH 1/2] Updated Via* --- 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 a135ec4..de922fd 100644 --- a/build.gradle +++ b/build.gradle @@ -53,8 +53,8 @@ repositories { } dependencies { - include "com.viaversion:viaversion-common:4.9.0-23w45a-SNAPSHOT" - include "com.viaversion:viabackwards-common:4.9.0-23w45a-SNAPSHOT" + include "com.viaversion:viaversion-common:4.9.0-23w46a-SNAPSHOT" + include "com.viaversion:viabackwards-common:4.9.0-23w46a-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" 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 1062365..64dafcb 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<>("23w45a", null)); + remaps.put("1.20.3", new Pair<>("23w46a", 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;")) From 29c476a7adfdbc2a53eb5fc2847eecf34375b4a8 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Mon, 20 Nov 2023 19:29:01 +0100 Subject: [PATCH 2/2] 1.20.3-pre1 --- 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 de922fd..f56a0d1 100644 --- a/build.gradle +++ b/build.gradle @@ -53,8 +53,8 @@ repositories { } dependencies { - include "com.viaversion:viaversion-common:4.9.0-23w46a-SNAPSHOT" - include "com.viaversion:viabackwards-common:4.9.0-23w46a-SNAPSHOT" + include "com.viaversion:viaversion-common:4.9.0-1.20.3-pre1-SNAPSHOT" + include "com.viaversion:viabackwards-common:4.9.0-1.20.3-pre1-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" 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 64dafcb..d9472c3 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<>("23w46a", null)); + remaps.put("1.20.3", new Pair<>("1.20.3-pre1", 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;"))