diff --git a/src/dao/AccountDao.ts b/src/dao/AccountDao.ts index bfd4055..11ec89b 100644 --- a/src/dao/AccountDao.ts +++ b/src/dao/AccountDao.ts @@ -5,7 +5,6 @@ import { updateRank } from '../service/rank' import { Card } from '../models/subdoc/Card' import { Hero } from '../models/subdoc/Hero' import { addHeroDefaultCardGroup } from './CardGroupDao' -import { Base } from '@typegoose/typegoose/lib/defaultClasses' import { ItemInfo } from '../logic/ItemDef' import ItemCtrl from '../logic/ItemCtrl' import { BagItem } from '../models/BagItem' @@ -65,7 +64,7 @@ export async function fetchAccount({ accountid, nickname, avatar, robot = false hero.exp = 0 if (!account.heros.has(cfg.id + '')) { account.heros.set(cfg.id + '', hero) - await addHeroDefaultCardGroup(accountid, hero.heroid, cardMap) + // await addHeroDefaultCardGroup(accountid, hero.heroid, cardMap) } } }