fix: typo

This commit is contained in:
手瓜一十雪 committed 2024-11-22 22:04:57 +08:00
1 parent 4277cb3f3c
commit 90b54435b5
4 files changed
+20 -7

No files matched your search

+2 -1
View File
@@ -15,6 +15,7 @@ import {
} from "@/core/packet/transformer/proto";
import {
BaseEmojiType,
FaceType,
NTMsgAtType,
PicType,
SendArkElement,
@@ -163,7 +164,7 @@ export class PacketMsgFaceElement extends IPacketMsgElement<SendFaceElement> {
constructor(element: SendFaceElement) {
super(element);
this.faceId = element.faceElement.faceIndex;
this.isLargeFace = element.faceElement.faceType === BaseEmojiType.CHAIN_SUPER_EMOJI;
this.isLargeFace = element.faceElement.faceType === FaceType.AniSticke;
}
buildElement(): NapProtoEncodeStructType<typeof Elem>[] {