Update src/main/java/fr/xephi/authme/listener/PlayerListener.java
Correct usage adjustment Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
This commit is contained in:
parent
7359d6e5be
commit
ab2e721102
@ -150,7 +150,7 @@ public class PlayerListener implements Listener {
|
||||
// Slow, blocking checks
|
||||
try {
|
||||
final PlayerAuth auth = dataSource.getAuth(name);
|
||||
final boolean isAuthAvailable= auth != null;
|
||||
final boolean isAuthAvailable = auth != null;
|
||||
onJoinVerifier.checkKickNonRegistered(isAuthAvailable);
|
||||
onJoinVerifier.checkKickNotVerified(auth != null && auth.isEmailVerified());
|
||||
onJoinVerifier.checkAntibot(name, isAuthAvailable);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user