mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 18:00:33 +08:00
Remove redundant function override
This commit is contained in:
parent
5b488bae36
commit
1a56235cb0
@ -87,8 +87,5 @@ object UnknownPacketFactory : SessionPacketFactory<UnknownPacket>() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
object IgnoredPacketFactory : SessionPacketFactory<IgnoredPacket>() {
|
object IgnoredPacketFactory : SessionPacketFactory<IgnoredPacket>() {
|
||||||
override suspend fun BotNetworkHandler<*>.handlePacket(packet: IgnoredPacket) {
|
|
||||||
}
|
|
||||||
|
|
||||||
override suspend fun ByteReadPacket.decode(id: PacketId, sequenceId: UShort, handler: BotNetworkHandler<*>): IgnoredPacket = IgnoredPacket(id)
|
override suspend fun ByteReadPacket.decode(id: PacketId, sequenceId: UShort, handler: BotNetworkHandler<*>): IgnoredPacket = IgnoredPacket(id)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user