Merge pull request #790 from universe-st/PR-Branch

修复关羽武圣牌视为无花色BUG
This commit is contained in:
Spmario233 2024-01-14 22:42:32 +08:00 committed by GitHub
commit a8d5defaef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -13,10 +13,6 @@ export class VCard {
* @param { string } [nature] * @param { string } [nature]
*/ */
constructor(suitOrCard, numberOrCards, name, nature) { constructor(suitOrCard, numberOrCards, name, nature) {
if (suitOrCard instanceof VCard) {
const other = suitOrCard;
[suitOrCard, numberOrCards, name, nature] = other._args;
}
if (Array.isArray(suitOrCard)) { if (Array.isArray(suitOrCard)) {
/** /**