mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-30 12:02:02 +01:00
Fixed a bug where empty optional is always returned (Registered: -)
This commit is contained in:
parent
1241019fa4
commit
7af6cd238f
@ -425,7 +425,7 @@ public class UsersTable extends UserIDTable {
|
||||
@Override
|
||||
public Optional<Long> processResults(ResultSet set) throws SQLException {
|
||||
if (set.next()) {
|
||||
Optional.of(set.getLong(columnRegistered));
|
||||
return Optional.of(set.getLong(columnRegistered));
|
||||
}
|
||||
return Optional.empty();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user