This commit is contained in:
creeper123123321 2023-04-08 13:06:58 -03:00
parent ef166f3113
commit acbc0e9948
2 changed files with 8 additions and 6 deletions

View File

@ -61,9 +61,9 @@ dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
val vvVer = "4.6.3-SNAPSHOT"
val vbVer = "4.6.2-SNAPSHOT"
val vrVer = "197f7b2"
val vvVer = "4.7.0-23w14a-SNAPSHOT"
val vbVer = "4.7.0-23w14a-SNAPSHOT"
val vrVer = "2e7dc6b"
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
implementation("com.github.ViaVersion.ViaRewind:viarewind-all:$vrVer") { isTransitive = false }
@ -83,7 +83,7 @@ dependencies {
implementation("com.velocitypowered:velocity-native:3.1.2-SNAPSHOT")
implementation("net.coobird:thumbnailator:0.4.19")
implementation("org.powernukkit.fastutil:fastutil-lite:8.1.1")
implementation("org.yaml:snakeyaml:1.33")
implementation("org.yaml:snakeyaml:2.0")
val log4jVer = "2.20.0"
val slf4jVer = "2.0.6"

View File

@ -91,7 +91,8 @@ object PacketRegistry {
ProtocolVersion.v1_19.singleton to ClientboundPackets1_19.DISCONNECT.id,
ProtocolVersion.v1_19_1.singleton to ClientboundPackets1_19_1.DISCONNECT.id,
ProtocolVersion.v1_19_3.singleton to ClientboundPackets1_19_3.DISCONNECT.id,
ProtocolVersion.v1_19_4.singleton to ClientboundPackets1_19_4.DISCONNECT.id
ProtocolVersion.v1_19_4.singleton to ClientboundPackets1_19_4.DISCONNECT.id,
ProtocolVersion.v1_20.singleton to ClientboundPackets1_19_4.DISCONNECT.id // todo change to 1.20 if needed
)
)
register(
@ -108,7 +109,8 @@ object PacketRegistry {
ProtocolVersion.v1_19.singleton to ClientboundPackets1_19.PLUGIN_MESSAGE.id,
ProtocolVersion.v1_19_1.singleton to ClientboundPackets1_19_1.PLUGIN_MESSAGE.id,
ProtocolVersion.v1_19_3.singleton to ClientboundPackets1_19_3.PLUGIN_MESSAGE.id,
ProtocolVersion.v1_19_4.singleton to ClientboundPackets1_19_4.PLUGIN_MESSAGE.id
ProtocolVersion.v1_19_4.singleton to ClientboundPackets1_19_4.PLUGIN_MESSAGE.id,
ProtocolVersion.v1_20.singleton to ClientboundPackets1_19_4.PLUGIN_MESSAGE.id
)
)
register(