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:
@@ -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 -> {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user