Added support for 23w35a

This commit is contained in:
RaphiMC 2023-08-30 19:34:54 +02:00
parent 62c50c6f55
commit da71e7dbb2
No known key found for this signature in database
GPG key ID: 0F6BB0657A03AC94
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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.2", new Pair<>("23w33a", null));
remaps.put("1.20.2", new Pair<>("23w35a", 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;"))