Updated Via*

This commit is contained in:
RaphiMC 2023-03-03 16:31:47 +01:00
parent 3a28086c9d
commit a37a0c3692
2 changed files with 4 additions and 4 deletions

View File

@ -59,15 +59,15 @@ repositories {
dependencies { dependencies {
compileOnly sourceSets.java17compat.output compileOnly sourceSets.java17compat.output
include "com.viaversion:viaversion:4.6.0-1.19.4-pre2-SNAPSHOT" include "com.viaversion:viaversion:4.6.0-1.19.4-pre3-SNAPSHOT"
include("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre1-SNAPSHOT") { include("com.viaversion:viabackwards-common:4.6.0-1.19.4-pre3-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"
} }
include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT" include "com.viaversion:viarewind-core:2.0.3-SNAPSHOT"
include "net.raphimc:ViaLegacy:2.2.8" include "net.raphimc:ViaLegacy:2.2.8"
include "net.raphimc:ViaAprilFools:2.0.4" include "net.raphimc:ViaAprilFools:2.0.5"
include("net.raphimc:ViaProtocolHack:2.1.5") { include("net.raphimc:ViaProtocolHack:2.1.5") {
exclude group: "org.slf4j", module: "slf4j-api" exclude group: "org.slf4j", module: "slf4j-api"
} }

View File

@ -51,7 +51,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.19.4", new Pair<>("1.19.4-pre1", null)); remaps.put("1.19.4", new Pair<>("1.19.4-pre3", 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;"))