Use user IDs instead of names
This commit is contained in:
parent
e528682403
commit
2bd71790b5
9 changed files with 48 additions and 57 deletions
|
@ -1715,10 +1715,6 @@ ${escapedMessage}
|
|||
});
|
||||
}
|
||||
|
||||
public findPlayer(testFunction: (player: RemotePlayer) => boolean): RemotePlayer | undefined {
|
||||
return Array.from(this.MapPlayersByKey.values()).find(testFunction);
|
||||
}
|
||||
|
||||
/**
|
||||
* Called by the connexion when a new player arrives on a map
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue