Added 24w05b client and server support

This commit is contained in:
RaphiMC 2024-02-03 15:53:52 +01:00
parent 8fb106157b
commit 8e2be9e513
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 { dependencies {
include "com.viaversion:viaversion-common:4.10.0-24w05a-SNAPSHOT" include "com.viaversion:viaversion-common:4.10.0-24w05b-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.10.0-24w05a-SNAPSHOT" include "com.viaversion:viabackwards-common:4.10.0-24w05b-SNAPSHOT"
include "com.viaversion:viarewind-common:3.0.6-SNAPSHOT" include "com.viaversion:viarewind-common:3.0.6-SNAPSHOT"
include "net.raphimc:ViaLegacy:2.2.22-SNAPSHOT" include "net.raphimc:ViaLegacy:2.2.22-SNAPSHOT"
include "net.raphimc:ViaAprilFools:2.0.11-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.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/1.20.4", new Pair<>("1.20.3-1.20.4", 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<>("24w05a", null)); remaps.put("1.20.5", new Pair<>("24w05b", 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;"))