From 4a51e977ac3230a68e6e5d553c8cfa3e20aa44ff Mon Sep 17 00:00:00 2001 From: VariableVince <24507472+VariableVince@users.noreply.github.com> Date: Thu, 19 Feb 2026 20:02:12 +0100 Subject: [PATCH] Better type for parameter,all callers already send it this type --- src/core/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {