mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-06-01 09:51:55 +00:00
Potentially fixing Java 16 issues v1.3.1
This commit is contained in:
@@ -96,7 +96,7 @@ public class MySqlVPN implements VPNDatabase {
|
||||
ResultSet set = Query.prepare("select uuid from `whitelisted` where `uuid` = ? limit 1").append(uuid.toString())
|
||||
.executeQuery();
|
||||
|
||||
return set != null && !set.wasNull() && set.next() && set.getString("uuid") != null;
|
||||
return set != null && set.getFetchSize() > 0 && set.next() && set.getString("uuid") != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user