Commit dba3cb57 authored by Him188's avatar Him188

Simplify expression

parent fea2acbb
...@@ -355,7 +355,7 @@ internal class WtLogin { ...@@ -355,7 +355,7 @@ internal class WtLogin {
val otherInfo: String = readUShortLVString() val otherInfo: String = readUShortLVString()
LoginPacketResponse.Error(title, content, otherInfo) LoginPacketResponse.Error(title, content, otherInfo)
} ?: tlvMap[0x146]?.toReadPacket()?.run { } ?: tlvMap[0x146]?.read {
discardExact(2) // ver discardExact(2) // ver
discardExact(2) // code discardExact(2) // code
......
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