Updated kotlin to 1.8.0

Updated kotlin target to java 11
Fixed build errors when targeting 1.8.0
This commit is contained in:
Ceikry
2023-02-18 09:18:24 +00:00
committed by Ryan
parent 86405d89f4
commit 675d576c58
13 changed files with 17 additions and 9 deletions
@@ -297,6 +297,7 @@ object PacketProcessor {
//TODO see above todo
}
else -> {}
}
}
@@ -709,6 +709,7 @@ enum class Decoders530(val opcode: Int) {
selection_b_index = buffer.get()
}
QCPacketType.UNHANDLED -> SystemLogger.logWarn(this::class.java, "Unhandled packet type, skipping remaining buffer contents.")
else -> {}
}
return Packet.QuickChat(player, selection_a_index, selection_b_index, forClan, multiplier, offset, packetType)
}
@@ -51,6 +51,7 @@ class QuickChatPacketHandler : IncomingPacket {
selection_b_index = buffer.get()
}
QCPacketType.UNHANDLED -> SystemLogger.logWarn(this::class.java, "Unhandled packet type, skipping remaining buffer contents.")
else -> {}
}