mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +01:00
ugh
This commit is contained in:
parent
da390530e9
commit
be1eb9392a
@ -59,7 +59,7 @@ public class AuthMePlayerListener implements Listener {
|
||||
private void handleChat(AsyncPlayerChatEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
for (Player p : Utils.getOnlinePlayers()) {
|
||||
if (p != player && !PlayerCache.getInstance().isAuthenticated(p)) {
|
||||
if (p != player && !PlayerCache.getInstance().isAuthenticated(p.getName())) {
|
||||
event.getRecipients().remove(p);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user