mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-29 20:17:36 +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
|
//triggers an update for others player to see them
|
||||||
for (Player onlinePlayer : Utils.getOnlinePlayers()) {
|
for (Player onlinePlayer : Utils.getOnlinePlayers()) {
|
||||||
if (onlinePlayer.equals(receiver)) {
|
if (onlinePlayer.equals(receiver) || !receiver.canSee(onlinePlayer)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user