@Override
    default boolean wasSuccessful() {
        return getUser() != null;
    }
Gets if the login was processed successfully.

@return true if the login was successful
api/src/main/java/net/luckperms/api/event/player/PlayerLoginProcessEvent.java