Bump version to 2.2.9-SNAPSHOT / Added 1.20.2 to VersionEnum

This commit is contained in:
RaphiMC 2023-08-09 22:40:33 +02:00
parent 03a93c8ba3
commit b7ae73a28d
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94
3 changed files with 7 additions and 6 deletions

View File

@ -40,14 +40,14 @@ repositories {
}
dependencies {
compileOnly "com.viaversion:viaversion:4.7.1-SNAPSHOT"
compileOnly("com.viaversion:viabackwards-common:4.7.1-SNAPSHOT") {
compileOnly "com.viaversion:viaversion:4.8.0-23w31a-SNAPSHOT"
compileOnly("com.viaversion:viabackwards-common:4.8.0-23w31a-SNAPSHOT") {
exclude group: "com.viaversion", module: "viaversion"
exclude group: "io.netty", module: "netty-all"
}
compileOnly "com.viaversion:viarewind-core:2.0.4-SNAPSHOT"
compileOnly "net.raphimc:ViaLegacy:2.2.18"
compileOnly "net.raphimc:ViaAprilFools:2.0.8"
compileOnly "net.raphimc:ViaLegacy:2.2.19-SNAPSHOT"
compileOnly "net.raphimc:ViaAprilFools:2.0.9-SNAPSHOT"
compileOnly "net.raphimc:ViaBedrock:0.0.2-SNAPSHOT"
compileOnly "org.cloudburstmc.netty:netty-transport-raknet:1.0.0.CR1-SNAPSHOT"

View File

@ -6,4 +6,4 @@ org.gradle.configureondemand=true
# Project properties
maven_name=ViaLoader
maven_group=net.raphimc
maven_version=2.2.8
maven_version=2.2.9-SNAPSHOT

View File

@ -103,6 +103,7 @@ public enum VersionEnum {
r1_19_4(ProtocolVersion.v1_19_4),
bedrockLatest(getViaBedrockProtocol("bedrockLatest")),
r1_20tor1_20_1(ProtocolVersion.v1_20),
r1_20_2(ProtocolVersion.v1_20_2),
//
UNKNOWN(ProtocolVersion.unknown), // Not in Registry
@ -115,7 +116,6 @@ public enum VersionEnum {
static {
for (VersionEnum version : VersionEnum.values()) {
if (version == UNKNOWN) continue;
if (!version.protocolVersion.isKnown()) continue;
VERSION_REGISTRY.put(version.protocolVersion, version);
}
@ -125,6 +125,7 @@ public enum VersionEnum {
}
}
SORTED_VERSIONS.add(r1_20_2);
SORTED_VERSIONS.add(r1_20tor1_20_1);
SORTED_VERSIONS.add(r1_19_4);
SORTED_VERSIONS.add(r1_19_3);