Added 24w09a client and server support

This commit is contained in:
RaphiMC 2024-03-02 20:30:13 +01:00
parent 41dd4a669f
commit ab7b5332f8
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-24w07a-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-24w07a-SNAPSHOT"
include "com.viaversion:viaversion-common:4.10.0-24w09a-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-24w09a-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

@ -46,7 +46,7 @@ public abstract class MixinProtocolVersion {
remaps.put("1.19.1/1.19.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<>("24w07a", null));
remaps.put("1.20.5", new Pair<>("24w09a", 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;"))