actually fix displayName by not putting it (the vanilla server does that)

This commit is contained in:
Romain Beaumont 2015-10-12 23:01:27 +02:00
parent 57a253565f
commit 82353ad13c

View file

@ -161,9 +161,7 @@ function inject(serv,player)
name: player.username,
properties: [],
gamemode: player.gameMode,
ping: 1,
hasDisplayName: true,
displayName: {'text':player.username}
ping: 1
}]
});
@ -175,9 +173,7 @@ function inject(serv,player)
name: otherPlayer.username,
properties: [],
gamemode: otherPlayer.gameMode,
ping: 1,
hasDisplayName: true,
displayName: {'text':player.username}
ping: 1
}]
});
});