Merge remote-tracking branch 'origin/main' into recode/3.0.0

# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java
This commit is contained in:
FlorianMichael 2023-11-28 17:43:58 +01:00
commit 25daee6296
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ maven_group=de.florianmichael
archives_base_name=viafabricplus
# ViaVersion Libraries
viaversion_version=4.9.0-1.20.3-pre3-SNAPSHOT
viaversion_version=4.9.0-1.20.3-pre4-SNAPSHOT
viabackwards_version=4.9.0-1.20.3-pre3-SNAPSHOT
vialegacy_version=2.2.21-SNAPSHOT
viaaprilfools_version=2.0.10-SNAPSHOT

View File

@ -35,7 +35,7 @@ public class ResourcePackHeaderDiff {
private final static Map<VersionEnum, GameVersion> GAME_VERSION_DIFF = new HashMap<>();
static {
registerVersion(VersionEnum.r1_20_3, 22, "1.20.3-pre3");
registerVersion(VersionEnum.r1_20_3, 22, "1.20.3-pre4");
registerVersion(VersionEnum.r1_20_2, 18, "1.20.2");
registerVersion(VersionEnum.r1_20tor1_20_1, 15, "1.20.1"); // 1.20 and 1.20.1 are equal
registerVersion(VersionEnum.r1_19_4, 13, "1.19.4");

View File

@ -54,7 +54,7 @@ public abstract class MixinProtocolVersion {
viaFabricPlus$remaps.put("1.18/1.18.1", new Pair<>("1.18-1.18.1", null));
viaFabricPlus$remaps.put("1.19.1/2", new Pair<>("1.19.1-1.19.2", null));
viaFabricPlus$remaps.put("1.20/1.20.1", new Pair<>("1.20-1.20.1", null));
viaFabricPlus$remaps.put("1.20.3", new Pair<>("1.20.3-pre3", null));
viaFabricPlus$remaps.put("1.20.3", new Pair<>("1.20.3-pre4", 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;"))