Fixed non register error
This commit is contained in:
parent
a5fba826da
commit
7359d6e5be
@ -150,9 +150,9 @@ public class PlayerListener implements Listener {
|
||||
// Slow, blocking checks
|
||||
try {
|
||||
final PlayerAuth auth = dataSource.getAuth(name);
|
||||
final boolean isAuthAvailable = (auth != null && auth.isEmailVerified());
|
||||
final boolean isAuthAvailable= auth != null;
|
||||
onJoinVerifier.checkKickNonRegistered(isAuthAvailable);
|
||||
onJoinVerifier.checkKickNotVerified(isAuthAvailable);
|
||||
onJoinVerifier.checkKickNotVerified(auth != null && auth.isEmailVerified());
|
||||
onJoinVerifier.checkAntibot(name, isAuthAvailable);
|
||||
onJoinVerifier.checkNameCasing(name, auth);
|
||||
final String ip = event.getAddress().getHostAddress();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user