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

This commit is contained in:
feildmaster committed 2013-12-01 14:15:59 -06:00
1 parent 6aafe7c5a1
commit 72b36b8b07
1 file changed
+1 -1
@@ -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
}
}