diff --git a/build.gradle b/build.gradle index a135ec4..f56a0d1 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-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 1062365..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<>("23w45a", 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;"))