Merge remote-tracking branch 'origin/main'

This commit is contained in:
Lenni0451 2023-11-20 22:47:47 +01:00
commit 232168873c
No known key found for this signature in database
GPG Key ID: 5D59B86635AD3F2F
2 changed files with 3 additions and 3 deletions

View File

@ -53,8 +53,8 @@ repositories {
}
dependencies {
include "com.viaversion:viaversion-common:4.9.0-23w45a-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.9.0-23w45a-SNAPSHOT"
include "com.viaversion:viaversion-common:4.9.0-1.20.3-pre1-SNAPSHOT"
include "com.viaversion:viabackwards-common:4.9.0-1.20.3-pre1-SNAPSHOT"
include "com.viaversion:viarewind-common:3.0.4-SNAPSHOT"
include("net.raphimc:ViaLegacy:2.2.21-SNAPSHOT") {
exclude group: "net.lenni0451.mcstructs", module: "text"

View File

@ -51,7 +51,7 @@ public abstract class MixinProtocolVersion {
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.20/1.20.1", new Pair<>("1.20-1.20.1", null));
remaps.put("1.20.3", new Pair<>("23w45a", null));
remaps.put("1.20.3", new Pair<>("1.20.3-pre1", 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;"))