This commit is contained in:
Him188 2019-10-24 20:51:37 +08:00
parent 3ab540d5f2
commit 7892333c27
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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)