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] });