diff --git a/src/core/Util.ts b/src/core/Util.ts index b4f889d90..1c8a07088 100644 --- a/src/core/Util.ts +++ b/src/core/Util.ts @@ -291,7 +291,7 @@ export function withinInt(num: bigint, min: bigint, max: bigint): bigint { export function createRandomName( name: string, - playerType: string, + playerType: PlayerType, ): string | null { let randomName: string | null = null; if (playerType === PlayerType.Human) {