Fix boolean value

This commit is contained in:
fullwall 2015-01-03 14:21:07 +08:00
parent a46b1f440b
commit 5b64a7cc57

View File

@ -291,9 +291,9 @@ public class EntityHumanNPC extends EntityPlayer implements NPCHolder {
break;
}
}
NMS.sendPlayerlistPacket(true, getBukkitEntity(), npc);
NMS.sendPlayerlistPacket(false, getBukkitEntity(), npc);
if (otherOnline != null) {
NMS.sendPlayerlistPacket(false, otherOnline, npc);
NMS.sendPlayerlistPacket(true, otherOnline, npc);
}
NMS.sendPacketsNearby(getBukkitEntity(), current, packets);
}