diff --git a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/io/JceOutput.kt b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/io/JceOutput.kt index f8c633353..5905b9afd 100644 --- a/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/io/JceOutput.kt +++ b/mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/io/JceOutput.kt @@ -180,16 +180,16 @@ class JceOutput( fun writeObject(v: T, tag: Int) { when (v) { is Byte -> writeByte(v, tag) - is Boolean -> writeBoolean(v, tag) is Short -> writeShort(v, tag) is Int -> writeInt(v, tag) is Long -> writeLong(v, tag) is Float -> writeFloat(v, tag) is Double -> writeDouble(v, tag) - is Map<*, *> -> writeMap(v, tag) - is Collection<*> -> writeCollection(v, tag) is JceStruct -> writeJceStruct(v, tag) is ByteArray -> writeFully(v, tag) + is Collection<*> -> writeCollection(v, tag) + is Boolean -> writeBoolean(v, tag) + is Map<*, *> -> writeMap(v, tag) is IntArray -> writeFully(v, tag) is ShortArray -> writeFully(v, tag) is BooleanArray -> writeFully(v, tag)