mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-14 20:11:03 +00:00
display name is a json chat
This commit is contained in:
parent
7b93432d7f
commit
57a253565f
1 changed files with 2 additions and 2 deletions
|
|
@ -163,7 +163,7 @@ function inject(serv,player)
|
|||
gamemode: player.gameMode,
|
||||
ping: 1,
|
||||
hasDisplayName: true,
|
||||
displayName: player.username
|
||||
displayName: {'text':player.username}
|
||||
}]
|
||||
});
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ function inject(serv,player)
|
|||
gamemode: otherPlayer.gameMode,
|
||||
ping: 1,
|
||||
hasDisplayName: true,
|
||||
displayName: otherPlayer.username
|
||||
displayName: {'text':player.username}
|
||||
}]
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue