Updated Via*

This commit is contained in:
RaphiMC 2023-04-14 16:55:09 +02:00
parent 55ca5c7087
commit 1bbaf9773a
2 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ repositories {
dependencies { dependencies {
compileOnly sourceSets.java17compat.output compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.7.0-23w13a-SNAPSHOT" include "com.viaversion:viaversion:4.7.0-23w14a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-23w13a-SNAPSHOT") { include("com.viaversion:viabackwards-common:4.7.0-23w14a-SNAPSHOT") {
exclude group: "com.viaversion", module: "viaversion" exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all" exclude group: "io.netty", module: "netty-all"
exclude group: "com.google.guava", module: "guava" exclude group: "com.google.guava", module: "guava"

View File

@ -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.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.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.19.1/2", new Pair<>("1.19.1-1.19.2", null));
remaps.put("1.20", new Pair<>("23w13a", null)); remaps.put("1.20", new Pair<>("23w14a", 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;")) @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;"))