Commit f82f0ed9 authored by Him188's avatar Him188

Add toString

parent 8180098a
......@@ -19,9 +19,7 @@ internal class Heartbeat {
object Alive : OutgoingPacketFactory<Alive.Response>("Heartbeat.Alive") {
object Response : Packet {
override fun toString(): String {
return "Heartbeat.Alive.Response"
}
override fun toString(): String = "Heartbeat.Alive.Response"
}
operator fun invoke(
......
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