fix constructor

This commit is contained in:
creeper123123321 2021-07-24 11:19:50 -03:00
parent dec7a9039c
commit 6fc2ec0822
2 changed files with 5 additions and 2 deletions

View File

@ -61,7 +61,7 @@ dependencies {
val vvVer = "4.0.2-SNAPSHOT"
val vbVer = "4.0.2-SNAPSHOT"
val vrVer = "1f477d6b37"
val vrVer = "9484048dff"
implementation("com.viaversion:viaversion:$vvVer") { isTransitive = false }
implementation("com.viaversion:viabackwards:$vbVer") { isTransitive = false }
implementation("com.github.ViaVersion.ViaRewind:viarewind-all:$vrVer") { isTransitive = false }

View File

@ -11,7 +11,10 @@ import de.gerrygames.viarewind.protocol.protocol1_7_6_10to1_8.ServerboundPackets
// Based on https://github.com/Gerrygames/ClientViaVersion
object Protocol1_8To1_7_6 : AbstractProtocol<ClientboundPackets1_7, ClientboundPackets1_8,
ServerboundPackets1_7, ServerboundPackets1_8>() {
ServerboundPackets1_7, ServerboundPackets1_8>(
ClientboundPackets1_7::class.java, ClientboundPackets1_8::class.java,
ServerboundPackets1_7::class.java, ServerboundPackets1_8::class.java
) {
private val placeable = hashSetOf<Int>()
init {