diff --git a/build.gradle b/build.gradle index 39d1249..7a5e946 100644 --- a/build.gradle +++ b/build.gradle @@ -71,8 +71,8 @@ repositories { dependencies { compileOnly sourceSets.java17compat.output - include "com.viaversion:viaversion:4.7.0-1.20-pre2-SNAPSHOT" - include("com.viaversion:viabackwards-common:4.7.0-1.20-pre1-SNAPSHOT") { + include "com.viaversion:viaversion:4.7.0-1.20-pre4-SNAPSHOT" + include("com.viaversion:viabackwards-common:4.7.0-1.20-pre3-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 eada406..d0186f2 100644 --- a/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java +++ b/src/main/java/net/raphimc/viaproxy/injection/mixins/MixinProtocolVersion.java @@ -50,7 +50,7 @@ public abstract class MixinProtocolVersion { remaps.put("1.16.4/5", new Pair<>("1.16.4-1.16.5", null)); 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", new Pair<>("1.20-pre2", null)); + remaps.put("1.20", new Pair<>("1.20-pre4", 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;"))