Added 24w06a client and server support

This commit is contained in:
RaphiMC 2024-02-07 19:55:20 +01:00
parent 15d0ba5c47
commit d5cd8d4ebc
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
2 changed files with 3 additions and 3 deletions

View File

@ -54,8 +54,8 @@ repositories {
}
dependencies {
include "com.viaversion:viaversion-common:4.10.0-24w05b-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-24w05b-SNAPSHOT"
include "com.viaversion:viaversion-common:4.10.0-24w06a-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-24w06a-SNAPSHOT"
include "com.viaversion:viarewind-common:3.0.6-SNAPSHOT"
include "net.raphimc:ViaLegacy:2.2.22-SNAPSHOT"
include "net.raphimc:ViaAprilFools:2.0.11-SNAPSHOT"

View File

@ -52,7 +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<>("24w05b", null));
remaps.put("1.20.5", new Pair<>("24w06a", 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;"))