mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-20 15:47:38 +01:00
Fix vanished players are visible after join (Fixes #670)
This commit is contained in:
parent
00cb01b3bd
commit
c67527aac0
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user