mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
fix(player): force identifier to string
This commit is contained in:
1 parent
1253c76aef
commit
5dcb654516
1 file changed
+1
-1
@@ -170,7 +170,7 @@ class _PlayerService {
|
||||
*
|
||||
*/
|
||||
async handleNewPlayerEvent({ source: src, identifier, firstname, lastname }: PlayerAddData) {
|
||||
const player = await this.createNewPlayer({ src, identifier });
|
||||
const player = await this.createNewPlayer({ src, identifier: identifier.toString() });
|
||||
|
||||
if (firstname) player.setFirstName(firstname);
|
||||
if (lastname) player.setLastName(lastname);
|
||||
|
||||
Reference in new issue
Block a user