Updated Via*

This commit is contained in:
RaphiMC 2023-04-26 20:45:09 +02:00
parent c8b2d08a85
commit 3bbe0eea98
2 changed files with 4 additions and 4 deletions

View File

@ -71,8 +71,8 @@ repositories {
dependencies {
compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.7.0-23w14a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-23w14a-SNAPSHOT") {
include "com.viaversion:viaversion:4.7.0-23w17a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-23w17a-SNAPSHOT") {
exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all"
exclude group: "com.google.guava", module: "guava"
@ -86,7 +86,7 @@ dependencies {
exclude group: "io.jsonwebtoken", module: "jjwt-impl"
exclude group: "io.jsonwebtoken", module: "jjwt-gson"
}
include("net.raphimc:ViaProtocolHack:2.2.3") {
include("net.raphimc:ViaProtocolHack:2.2.4") {
exclude group: "org.slf4j", module: "slf4j-api"
exclude group: "org.yaml", module: "snakeyaml"
}

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.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<>("23w14a", null));
remaps.put("1.20", new Pair<>("23w17a", 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;"))