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:
Gürkan Kurt 2024-12-10 13:16:20 +03:00 committed by GitHub
parent 7359d6e5be
commit ab2e721102
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);