mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-28 01:20:21 +08:00
Misc improvements
This commit is contained in:
parent
45b39e4744
commit
a5c3e9f5ba
@ -12,7 +12,4 @@ coroutinesVersion=1.3.3
|
||||
atomicFuVersion=0.14.1
|
||||
coroutinesIoVersion=0.1.16
|
||||
# utility
|
||||
ktorVersion=1.3.1
|
||||
klockVersion=1.7.0
|
||||
# gradle plugin
|
||||
protobufJavaVersion=3.10.0
|
||||
ktorVersion=1.3.1
|
@ -13,7 +13,7 @@ val atomicFuVersion: String by rootProject.ext
|
||||
val coroutinesVersion: String by rootProject.ext
|
||||
val coroutinesIoVersion: String by rootProject.ext
|
||||
|
||||
val klockVersion: String by rootProject.ext
|
||||
|
||||
val ktorVersion: String by rootProject.ext
|
||||
|
||||
val serializationVersion: String by rootProject.ext
|
||||
|
@ -343,6 +343,7 @@ internal object KnownPacketFactories {
|
||||
ssoSequenceId: Int,
|
||||
consumer: PacketConsumer<T>
|
||||
) {
|
||||
@Suppress("DuplicatedCode")
|
||||
check(readByte().toInt() == 2)
|
||||
this.discardExact(2) // 27 + 2 + body.size
|
||||
this.discardExact(2) // const, =8001
|
||||
|
@ -13,7 +13,7 @@ val atomicFuVersion: String by rootProject.ext
|
||||
val coroutinesVersion: String by rootProject.ext
|
||||
val coroutinesIoVersion: String by rootProject.ext
|
||||
|
||||
val klockVersion: String by rootProject.ext
|
||||
|
||||
val ktorVersion: String by rootProject.ext
|
||||
|
||||
val serializationVersion: String by rootProject.ext
|
||||
|
Loading…
Reference in New Issue
Block a user