mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 13:02:13 +00:00
fixed
This commit is contained in:
@@ -302,7 +302,7 @@ export class PlayerInfo {
|
||||
public readonly clan: string | null;
|
||||
|
||||
constructor(
|
||||
public readonly pattern: string | undefined,
|
||||
public readonly pattern: string | null | undefined,
|
||||
public readonly flag: string | undefined,
|
||||
public readonly name: string,
|
||||
public readonly playerType: PlayerType,
|
||||
|
||||
@@ -174,7 +174,7 @@ export class PlayerView {
|
||||
return this.data.flag;
|
||||
}
|
||||
|
||||
pattern(): string {
|
||||
pattern(): string | undefined | null {
|
||||
return this.data.pattern;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user