mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-03-01 02:31:21 +01:00
Remove tab list info temporarily until 1.8
This commit is contained in:
parent
fc0f4585a2
commit
5e16260876
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user