Fix vanished players are visible after join (Fixes #670)

This commit is contained in:
games647 2016-04-22 17:04:46 +02:00
parent 00cb01b3bd
commit c67527aac0

View File

@ -68,7 +68,7 @@ public class AuthMeTablistPacketAdapter extends PacketAdapter {
//triggers an update for others player to see them
for (Player onlinePlayer : Utils.getOnlinePlayers()) {
if (onlinePlayer.equals(receiver)) {
if (onlinePlayer.equals(receiver) || !receiver.canSee(onlinePlayer)) {
continue;
}