diff --git a/src/commands/init.ts b/src/commands/init.ts index 19a63b9..f7959b2 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -259,8 +259,8 @@ export default class InitCommand extends BaseCommand { .setName('root') .setRole('gm') .setMap((await this.mapRepository.getFirst())!) - .setCharacterType((await this.characterTypeRepository.getFirst()) ?? undefined) - .setCharacterHair((await this.characterHairRepository.getFirst()) ?? undefined) + .setCharacterType((await this.characterTypeRepository.getFirst())) + .setCharacterHair((await this.characterHairRepository.getFirst())) .save() } }