From 33f5942ffb1d8087c92c3de1e39dda89bb594dfb Mon Sep 17 00:00:00 2001 From: shijian <2954700422@qq.com> Date: Fri, 29 Dec 2023 20:20:48 +0800 Subject: [PATCH] =?UTF-8?q?lib.cheat.u=E6=94=B9=E5=9B=9E=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E6=97=A7=E7=89=88=E4=BC=A0=E5=8F=822(=E4=BD=86=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E5=BA=9F=E5=BC=83)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noname/library/index.js b/noname/library/index.js index cb589a32c..91381d0ef 100644 --- a/noname/library/index.js +++ b/noname/library/index.js @@ -8916,7 +8916,7 @@ export class Library extends Uninstantable { } else if (typeof args[i] == 'object' && args[i] != null && args[i].name) { console.warn('lib.cheat.u: 以普通obj形式传入的类卡牌形式已经废弃'); - card = args[i]; + card = new lib.element.VCard(args[i]); } else if (typeof args[i] == 'string') { card = new lib.element.VCard({ name: args[i] });