Updated Via*

This commit is contained in:
RaphiMC 2023-05-04 23:07:13 +02:00
parent 9ae3efd41f
commit fd1e9932d0
2 changed files with 3 additions and 3 deletions

View File

@ -71,8 +71,8 @@ repositories {
dependencies {
compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.7.0-23w17a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-23w17a-SNAPSHOT") {
include "com.viaversion:viaversion:4.7.0-23w18a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.7.0-23w18a-SNAPSHOT") {
exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all"
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.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<>("23w17a", null));
remaps.put("1.20", new Pair<>("23w18a", 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;"))