display name is a json chat

This commit is contained in:
Romain Beaumont 2015-10-12 22:53:09 +02:00
parent 7b93432d7f
commit 57a253565f

View file

@ -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}
}]
});
});