mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +08:00
Cleanup
This commit is contained in:
parent
3ab540d5f2
commit
7892333c27
@ -106,6 +106,8 @@ class ServerFriendMessageEventPacket(input: ByteReadPacket, eventIdentity: Event
|
||||
discardExact(1)//0x00
|
||||
isPrevious = readByte().toInt() == 0x08
|
||||
discardExact(l1.toInt() - 2)
|
||||
//java.io.EOFException: Only 49 bytes were discarded of 69 requested
|
||||
//抖动窗口消息
|
||||
discardExact(69)
|
||||
readLVByteArray()//font
|
||||
discardExact(2)//2个0x00
|
||||
|
@ -28,5 +28,4 @@ interface MiraiLogger {
|
||||
|
||||
expect class PlatformLogger @JvmOverloads constructor(identity: String? = null) : MiraiLogger
|
||||
|
||||
fun Throwable.log() = MiraiLogger.log(this)
|
||||
fun Throwable.printStacktrace() = this.log()
|
||||
fun Throwable.log() = MiraiLogger.log(this)
|
Loading…
Reference in New Issue
Block a user