Commit fa8df387 authored by liujiahua123123's avatar liujiahua123123

remove ; ->

parent ff3bd74a
...@@ -23,8 +23,8 @@ abstract class ServerPacket(val input: DataInputStream) : Packet { ...@@ -23,8 +23,8 @@ abstract class ServerPacket(val input: DataInputStream) : Packet {
val idBytes = stream.readUntil(11) val idBytes = stream.readUntil(11)
return when (idBytes.joinToString("") { it.toString(16) }) { return when (idBytes.joinToString("") { it.toString(16) }) {
"08 25 31 01" -> Server0825Packet(Server0825Packet.Type.TYPE_08_25_31_01, stream) "08 25 31 01" -> ServerTouchResponsePacket(ServerTouchResponsePacket.Type.TYPE_08_25_31_01, stream)
"08 25 31 02" -> Server0825Packet(Server0825Packet.Type.TYPE_08_25_31_02, stream) "08 25 31 02" -> ServerTouchResponsePacket(ServerTouchResponsePacket.Type.TYPE_08_25_31_02, stream)
else -> throw UnsupportedOperationException() else -> throw UnsupportedOperationException()
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment