Updated Via* (23w44a server support)

This commit is contained in:
RaphiMC 2023-11-02 18:48:58 +01:00
parent 644987eadd
commit f167a05148
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ repositories {
} }
dependencies { dependencies {
include "com.viaversion:viaversion:4.9.0-23w43a-SNAPSHOT" include "com.viaversion:viaversion:4.9.0-23w44a-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.9.0-23w43a-SNAPSHOT") { include("com.viaversion:viabackwards-common:4.9.0-23w43a-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"

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.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/1.20.1", new Pair<>("1.20-1.20.1", null)); remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
remaps.put("1.20.3", new Pair<>("23w43a", null)); remaps.put("1.20.3", new Pair<>("23w44a", 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;"))