mirror of
https://github.com/danbulant/flying-squid
synced 2026-07-05 11:10:44 +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,
|
gamemode: player.gameMode,
|
||||||
ping: 1,
|
ping: 1,
|
||||||
hasDisplayName: true,
|
hasDisplayName: true,
|
||||||
displayName: player.username
|
displayName: {'text':player.username}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -177,7 +177,7 @@ function inject(serv,player)
|
||||||
gamemode: otherPlayer.gameMode,
|
gamemode: otherPlayer.gameMode,
|
||||||
ping: 1,
|
ping: 1,
|
||||||
hasDisplayName: true,
|
hasDisplayName: true,
|
||||||
displayName: otherPlayer.username
|
displayName: {'text':player.username}
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue