This commit is contained in:
RaphiMC 2023-12-19 00:42:15 +01:00
parent ca3415b1b7
commit 5e8dffa2a3
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 4 additions and 3 deletions

View File

@ -53,8 +53,8 @@ repositories {
}
dependencies {
include "com.viaversion:viaversion-common:4.9.3-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.9.2-SNAPSHOT"
include "com.viaversion:viaversion-common:4.10.0-23w51b-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-23w51b-SNAPSHOT"
include "com.viaversion:viarewind-common:3.0.5"
include("net.raphimc:ViaLegacy:2.2.22-SNAPSHOT") {
exclude group: "net.lenni0451.mcstructs", module: "text"
@ -65,7 +65,7 @@ dependencies {
exclude group: "io.jsonwebtoken"
exclude group: "net.lenni0451.mcstructs", module: "text"
}
include("net.raphimc:ViaLoader:2.2.12") {
include("net.raphimc:ViaLoader:2.2.13-SNAPSHOT") {
exclude group: "org.slf4j", module: "slf4j-api"
}

View File

@ -52,6 +52,7 @@ public abstract class MixinProtocolVersion {
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.3/1.20.4", new Pair<>("1.20.3-1.20.4", null));
remaps.put("1.20.5", new Pair<>("23w51b", 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;"))