From 82353ad13c84b583b8211a97d1305e3b94a83446 Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Mon, 12 Oct 2015 23:01:27 +0200 Subject: [PATCH] actually fix displayName by not putting it (the vanilla server does that) --- src/lib/playerPlugins/login.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/playerPlugins/login.js b/src/lib/playerPlugins/login.js index bb2afac..36cf9a0 100644 --- a/src/lib/playerPlugins/login.js +++ b/src/lib/playerPlugins/login.js @@ -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 }] }); });