Correctly send player names for the tab list. Fixes BUKKIT-4925

This commit is contained in:
feildmaster 2013-12-01 14:13:28 -06:00
parent 6aafe7c5a1
commit 72b36b8b07

View File

@ -262,7 +262,7 @@ public abstract class PlayerList {
continue;
}
// .name -> .listName
entityplayer.playerConnection.sendPacket(new PacketPlayOutPlayerInfo(entityplayer1.getName(), true, entityplayer1.ping));
entityplayer.playerConnection.sendPacket(new PacketPlayOutPlayerInfo(entityplayer1.listName, true, entityplayer1.ping));
// CraftBukkit end
}
}