Remove tab list info temporarily until 1.8

This commit is contained in:
fullwall 2014-09-03 17:40:48 +08:00
parent fc0f4585a2
commit 5e16260876

View File

@ -274,8 +274,8 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
int useListName = removeFromPlayerList ? 0 : 1;
if (useListName != this.useListName || this.useListName == -1) {
this.useListName = useListName;
packets[5] = new PacketPlayOutPlayerInfo(getBukkitEntity().getPlayerListName(), !removeFromPlayerList,
removeFromPlayerList ? 9999 : ping);
//packets[5] = new PacketPlayOutPlayerInfo(getBukkitEntity().getPlayerListName(), !removeFromPlayerList,
// removeFromPlayerList ? 9999 : ping);
}
NMS.sendPacketsNearby(getBukkitEntity(), current, packets);
}